emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 68b9133 2/4: Remove XEmacs code from tetris.el


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 68b9133 2/4: Remove XEmacs code from tetris.el
Date: Fri, 4 Oct 2019 08:30:40 -0400 (EDT)

branch: master
commit 68b91333d5a070c84afeadc273fd5c44df70f0a6
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Remove XEmacs code from tetris.el
    
    * lisp/play/tetris.el (tetris-mode): Remove XEmacs-only code.
---
 lisp/play/tetris.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el
index a797a26..a8fa7b7 100644
--- a/lisp/play/tetris.el
+++ b/lisp/play/tetris.el
@@ -599,17 +599,6 @@ Drops the shape one square, testing for collision."
 
   (use-local-map tetris-null-map)
 
-  (unless (featurep 'emacs)
-    (setq mode-popup-menu
-         '("Tetris Commands"
-           ["Start new game"   tetris-start-game]
-           ["End game"         tetris-end-game
-            (tetris-active-p)]
-           ["Pause"            tetris-pause-game
-            (and (tetris-active-p) (not tetris-paused))]
-           ["Resume"           tetris-pause-game
-            (and (tetris-active-p) tetris-paused)])))
-
   (setq show-trailing-whitespace nil)
 
   (setq gamegrid-use-glyphs tetris-use-glyphs)



reply via email to

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