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

lisp/play/snake.el

index d0f945790625879bf72f22934a1ff14bc8524cae..2769a621a468808af24acd1914a8adacaf27a9cb 100644 (file)
@@ -368,17 +368,6 @@ Argument SNAKE-BUFFER is the name of the buffer."
 
   (use-local-map snake-null-map)
 
-  (unless (featurep 'emacs)
-    (setq mode-popup-menu
-         '("Snake Commands"
-           ["Start new game"   snake-start-game]
-           ["End game"         snake-end-game
-            (snake-active-p)]
-           ["Pause"            snake-pause-game
-            (and (snake-active-p) (not snake-paused))]
-           ["Resume"           snake-pause-game
-            (and (snake-active-p) snake-paused)])))
-
   (setq gamegrid-use-glyphs snake-use-glyphs-flag)
   (setq gamegrid-use-color snake-use-color-flag)