summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-08-31 13:38:50 -0400
committerGlenn Morris <rgm@gnu.org>2012-08-31 13:38:50 -0400
commit723088480da2c8320e0944bc23f9b72fccb54319 (patch)
tree8ef6b25079cf71b9a5ac80074f9319360dc8aed5 /lisp/play
parent3aca1291d030ea97eab8b99d7a3e916a980b0bae (diff)
downloademacs-723088480da2c8320e0944bc23f9b72fccb54319.tar.gz
Fix right and left key remapping issue (bug#12317)
* lisp/emulation/cua-rect.el (cua--init-rectangles): * lisp/textmodes/picture.el (picture-mode-map): * lisp/play/blackbox.el (blackbox-mode-map): Remap right-char and left-char like forward-char and backward-char.
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/blackbox.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/play/blackbox.el b/lisp/play/blackbox.el
index eb2d784c8e5..4e8790c3586 100644
--- a/lisp/play/blackbox.el
+++ b/lisp/play/blackbox.el
@@ -93,11 +93,13 @@
(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)