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).
This commit is contained in:
parent
aa1411b20f
commit
b898528fdc
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue