emacs-diffs
[Top][All Lists]
Advanced

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

master 87b4368 2/4: Remove some XEmacs compat code from gamegrid.el


From: Stefan Kangas
Subject: master 87b4368 2/4: Remove some XEmacs compat code from gamegrid.el
Date: Sun, 30 Aug 2020 15:09:25 -0400 (EDT)

branch: master
commit 87b4368862c621259e5c45dd65420fa93c7d037a
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Remove some XEmacs compat code from gamegrid.el
    
    * lisp/play/gamegrid.el (gamegrid-setup-face): Remove XEmacs
    compat code.
---
 lisp/play/gamegrid.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index f013213..9b74eb9 100644
--- a/lisp/play/gamegrid.el
+++ b/lisp/play/gamegrid.el
@@ -265,12 +265,7 @@ format."
   (set-face-foreground face color)
   (set-face-background face color)
   (gamegrid-set-font face)
-  (condition-case nil
-      (set-face-background-pixmap face [nothing]);; XEmacs
-    (error nil))
-  (condition-case nil
-      (set-face-background-pixmap face nil);; Emacs
-    (error nil)))
+  (set-face-background-pixmap face nil))
 
 (defun gamegrid-make-mono-tty-face ()
   (let ((face (make-face 'gamegrid-mono-tty-face)))



reply via email to

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