]> code.delx.au - gnu-emacs-elpa/commitdiff
[gnugo int] Expose function to byte-compiler.
authorThien-Thi Nguyen <ttn@gnu.org>
Wed, 11 Jun 2014 13:33:11 +0000 (15:33 +0200)
committerThien-Thi Nguyen <ttn@gnu.org>
Wed, 11 Jun 2014 13:33:11 +0000 (15:33 +0200)
* packages/gnugo/gnugo.el (gnugo-toggle-image-display):
...here, as part of :highlight-last-move-spec toggling.

packages/gnugo/gnugo.el

index 34e57daddfb8f34a035fbb8b0f8e13e825d12aba..17133569e4964869d9130b1bf4d52f3639b96b5b 100644 (file)
@@ -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