]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove XEmacs code from tetris.el
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Oct 2019 12:24:36 +0000 (14:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Oct 2019 12:30:21 +0000 (14:30 +0200)
* lisp/play/tetris.el (tetris-mode): Remove XEmacs-only code.

lisp/play/tetris.el

index a797a26d59761affead46d6ccb0d67ac978043a9..a8fa7b7586539f18f3ba728cd709085c5221006b 100644 (file)
@@ -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)