projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13b8c0
)
tetris-null-map: bind "q" to `quit-window`
author
Sam Steingold
<sds@gnu.org>
Thu, 2 May 2019 14:17:04 +0000
(10:17 -0400)
committer
Sam Steingold
<sds@gnu.org>
Thu, 2 May 2019 14:18:14 +0000
(10:18 -0400)
lisp/play/tetris.el
patch
|
blob
|
history
diff --git
a/lisp/play/tetris.el
b/lisp/play/tetris.el
index 1e0681d7ff167549c946b56e5e5e92dda78b9ea9..a797a26d59761affead46d6ccb0d67ac978043a9 100644
(file)
--- a/
lisp/play/tetris.el
+++ b/
lisp/play/tetris.el
@@
-277,6
+277,7
@@
each one of its four blocks.")
(defvar tetris-null-map
(let ((map (make-sparse-keymap 'tetris-null-map)))
(define-key map "n" 'tetris-start-game)
+ (define-key map "q" 'quit-window)
map))
;; ;;;;;;;;;;;;;;;; game functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;