mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 14:40:54 -08:00
Revert "Remove XEmacs-only code from snake.el"
This reverts commit 7174a2b59f.
This should be ported to Emacs instead.
This commit is contained in:
parent
2b347905fe
commit
f33965798b
1 changed files with 11 additions and 0 deletions
|
|
@ -368,6 +368,17 @@ 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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue