Remove XEmacs-only code from snake.el
* lisp/play/snake.el (snake-mode): Remove XEmacs-only code.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user