Remove XEmacs-only code from snake.el

* lisp/play/snake.el (snake-mode): Remove XEmacs-only code.
This commit is contained in:
Lars Ingebrigtsen 2019-10-04 14:25:17 +02:00
parent 68b91333d5
commit 7174a2b59f

View 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)