Commit b898528f authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Add C-b/f/p/n keystrokes in `M-x snake'

* lisp/play/snake.el (snake-mode-map): Add the C-b/f/p/n in
addition to the cursor keys (bug#16720).
parent aa1411b2
Pipeline #2834 failed with stage
in 90 minutes and 2 seconds
......@@ -179,8 +179,13 @@ and then start moving it leftwards.")
(define-key map [left] 'snake-move-left)
(define-key map [right] 'snake-move-right)
(define-key map [up] 'snake-move-up)
(define-key map [up] 'snake-move-up)
(define-key map [down] 'snake-move-down)
(define-key map "\C-b" 'snake-move-left)
(define-key map "\C-f" 'snake-move-right)
(define-key map "\C-p" 'snake-move-up)
(define-key map "\C-n" 'snake-move-down)
map))
(defvar snake-null-map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment