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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnugo 21e1d9a 303/357: [gnugo int] Expose function to b


From: Stefan Monnier
Subject: [elpa] externals/gnugo 21e1d9a 303/357: [gnugo int] Expose function to byte-compiler.
Date: Sun, 29 Nov 2020 14:51:44 -0500 (EST)

branch: externals/gnugo
commit 21e1d9a893ce3f9d494a86f8cbcdd48da5f1606a
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Expose function to byte-compiler.
    
    * packages/gnugo/gnugo.el (gnugo-toggle-image-display):
    ...here, as part of :highlight-last-move-spec toggling.
---
 gnugo.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index 34e57da..1713356 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -613,11 +613,11 @@ when you are sure the command cannot fail."
     (setplist (gnugo-f 'ispc) (and new '(display (space :width 0))))
     (gnugo-put :highlight-last-move-spec
       (if new
-          '((lambda (p)
-              (get (gnugo-yy (get-text-property p 'gnugo-yin)
-                             (get-text-property p 'gnugo-yang)
-                             t)
-                   'display))
+          `(,(lambda (p)
+               (get (gnugo-yy (get-text-property p 'gnugo-yin)
+                              (get-text-property p 'gnugo-yang)
+                              t)
+                    'display))
             0 delete-overlay)
         (gnugo-get :default-highlight-last-move-spec)))
     ;; a kludge to be reworked another time perhaps by another gnugo.el lover



reply via email to

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