summaryrefslogtreecommitdiff
path: root/lisp/play/snake.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-04 14:25:17 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-04 14:30:21 +0200
commit7174a2b59f4cb883beb70bb3d182d59ab425e2f1 (patch)
tree1ed2232bcbf0a9b857497929ccb2ba5eb3d051db /lisp/play/snake.el
parent68b91333d5a070c84afeadc273fd5c44df70f0a6 (diff)
downloademacs-7174a2b59f4cb883beb70bb3d182d59ab425e2f1.tar.gz
Remove XEmacs-only code from snake.el
* lisp/play/snake.el (snake-mode): Remove XEmacs-only code.
Diffstat (limited to 'lisp/play/snake.el')
-rw-r--r--lisp/play/snake.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/lisp/play/snake.el b/lisp/play/snake.el
index d0f94579062..2769a621a46 100644
--- a/lisp/play/snake.el
+++ b/lisp/play/snake.el
@@ -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)