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

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

[elpa] externals/gnugo 6a7af2a 274/357: [gnugo int] Decruft: Presume ‘d


From: Stefan Monnier
Subject: [elpa] externals/gnugo 6a7af2a 274/357: [gnugo int] Decruft: Presume ‘display-images-p’.
Date: Sun, 29 Nov 2020 14:51:38 -0500 (EST)

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

    [gnugo int] Decruft: Presume ‘display-images-p’.
    
    * packages/gnugo/gnugo.el (gnugo-toggle-image-display):
    Don't gate ‘display-images-p’ call w/ ‘fboundp’.
---
 gnugo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnugo.el b/gnugo.el
index 4a6d002..7e65915 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -498,7 +498,7 @@ when you are sure the command cannot fail."
                              (t yang)))))
 
 (defun gnugo-toggle-image-display ()
-  (unless (and (fboundp 'display-images-p) (display-images-p))
+  (unless (display-images-p)
     (user-error "Display does not support images, sorry"))
   (require 'gnugo-xpms)
   (unless (and (boundp 'gnugo-xpms) gnugo-xpms)



reply via email to

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