]> code.delx.au - gnu-emacs/blobdiff - lisp/play/blackbox.el
Fix right and left key remapping issue (bug#12317)
[gnu-emacs] / lisp / play / blackbox.el
index eb2d784c8e523c1f8b28f26f97cc547b083a3955..4e8790c3586feb5a47b8fd3f8db304b34369d6fc 100644 (file)
   (define-key map (vector 'remap oldfun) newfun))
 
 
-(defvar blackbox-mode-map 
+(defvar blackbox-mode-map
   (let ((map (make-keymap)))
     (suppress-keymap map t)
     (blackbox-redefine-key map 'backward-char 'bb-left)
+    (blackbox-redefine-key map 'left-char 'bb-left)
     (blackbox-redefine-key map 'forward-char 'bb-right)
+    (blackbox-redefine-key map 'right-char 'bb-right)
     (blackbox-redefine-key map 'previous-line 'bb-up)
     (blackbox-redefine-key map 'next-line 'bb-down)
     (blackbox-redefine-key map 'move-end-of-line 'bb-eol)