Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2b632b16
Commit
2b632b16
authored
Jul 16, 2005
by
Richard M. Stallman
Browse files
(tetris-mode): Avoid warning.
parent
2f4fbe7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
lisp/play/tetris.el
lisp/play/tetris.el
+10
-9
No files found.
lisp/play/tetris.el
View file @
2b632b16
...
@@ -601,15 +601,16 @@ tetris-mode keybindings:
...
@@ -601,15 +601,16 @@ tetris-mode keybindings:
(
setq
major-mode
'tetris-mode
)
(
setq
major-mode
'tetris-mode
)
(
setq
mode-name
"Tetris"
)
(
setq
mode-name
"Tetris"
)
(
setq
mode-popup-menu
(
unless
(
featurep
'emacs
)
'
(
"Tetris Commands"
(
setq
mode-popup-menu
[
"Start new game"
tetris-start-game]
'
(
"Tetris Commands"
[
"End game"
tetris-end-game
[
"Start new game"
tetris-start-game]
(
tetris-active-p
)
]
[
"End game"
tetris-end-game
[
"Pause"
tetris-pause-game
(
tetris-active-p
)
]
(
and
(
tetris-active-p
)
(
not
tetris-paused
))
]
[
"Pause"
tetris-pause-game
[
"Resume"
tetris-pause-game
(
and
(
tetris-active-p
)
(
not
tetris-paused
))
]
(
and
(
tetris-active-p
)
tetris-paused
)
]
))
[
"Resume"
tetris-pause-game
(
and
(
tetris-active-p
)
tetris-paused
)
]
)))
(
setq
gamegrid-use-glyphs
tetris-use-glyphs
)
(
setq
gamegrid-use-glyphs
tetris-use-glyphs
)
(
setq
gamegrid-use-color
tetris-use-color
)
(
setq
gamegrid-use-color
tetris-use-color
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment