emacs-elpa-diffs
[Top][All Lists]
Advanced

[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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]