]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some XEmacs compat code from gamegrid.el
authorStefan Kangas <stefankangas@gmail.com>
Sun, 30 Aug 2020 11:37:37 +0000 (13:37 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 30 Aug 2020 19:09:07 +0000 (21:09 +0200)
* lisp/play/gamegrid.el (gamegrid-setup-face): Remove XEmacs
compat code.

lisp/play/gamegrid.el

index f0132135fd99146d1aa9b945dfe907f39051de73..9b74eb913e0e1864a83fa5ff8537e2396da43ef7 100644 (file)
@@ -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)))