]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/play/snake.el (snake-null-map): Quit on `q'. (Bug#42731)
authorPeder O. Klingenberg <peder@klingenberg.no>
Thu, 6 Aug 2020 12:32:52 +0000 (14:32 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 7 Aug 2020 10:23:31 +0000 (12:23 +0200)
lisp/play/snake.el

index d7c0683a05f89cf4249c6f787bc48728010d27da..70d80c464fcbfa1b87c1a841db1205a5ed08b844 100644 (file)
@@ -192,6 +192,7 @@ and then start moving it leftwards.")
 (defvar snake-null-map
   (let ((map (make-sparse-keymap 'snake-null-map)))
     (define-key map "n"                'snake-start-game)
+    (define-key map "q"         'quit-window)
     map)
   "Keymap for finished Snake games.")