[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 06/06: [gnugo int] Use ‘follo wing-char’ more.
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 06/06: [gnugo int] Use ‘follo wing-char’ more. |
Date: |
Tue, 15 Apr 2014 19:19:48 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 673ecf372ea2a97b871118ffb9a66299065b300b
Author: Thien-Thi Nguyen <address@hidden>
Date: Tue Apr 15 21:19:13 2014 +0200
[gnugo int] Use ‘following-char’ more.
* packages/gnugo/gnugo.el (gnugo-mouse-move):
...here w/ ‘memq’, instead of ‘looking-at’.
---
packages/gnugo/gnugo.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index f3952a6..43d5434 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1688,7 +1688,7 @@ To start a game try M-x gnugo."
"Do `gnugo-move' at mouse location."
(interactive "@e")
(mouse-set-point e)
- (when (looking-at "[.+]")
+ (when (memq (following-char) '(?. ?+))
(gnugo-move)))
(defun gnugo-pass ()
- [elpa] branch master updated (6bafa60 -> 673ecf3), Thien-Thi Nguyen, 2014/04/15
- [elpa] 04/06: [gnugo] Mention ‘gnugo -frolic-mode-hook’., Thien-Thi Nguyen, 2014/04/15
- [elpa] 02/06: [gnugo int] Add abstraction: gnugo--ERR-wait, Thien-Thi Nguyen, 2014/04/15
- [elpa] 06/06: [gnugo int] Use ‘follo wing-char’ more.,
Thien-Thi Nguyen <=
- [elpa] 01/06: [gnugo] New command: ‘ C-c C-a’ (gnugo-toggle-abdication), Thien-Thi Nguyen, 2014/04/15
- [elpa] 05/06: [gnugo int] Add abstraction: gnugo--user-play, Thien-Thi Nguyen, 2014/04/15
- [elpa] 03/06: [gnugo int] Add abstraction: gnugo--gate-game-over, Thien-Thi Nguyen, 2014/04/15