summaryrefslogtreecommitdiff
path: root/lisp/emulation/cua-rect.el
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/emulation/cua-rect.el
parent3aca1291d030ea97eab8b99d7a3e916a980b0bae (diff)
downloademacs-723088480da2c8320e0944bc23f9b72fccb54319.tar.gz
emacs-723088480da2c8320e0944bc23f9b72fccb54319.tar.bz2
emacs-723088480da2c8320e0944bc23f9b72fccb54319.zip
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/emulation/cua-rect.el')
-rw-r--r--lisp/emulation/cua-rect.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el
index e3aade760dc..245e1f63cc1 100644
--- a/lisp/emulation/cua-rect.el
+++ b/lisp/emulation/cua-rect.el
@@ -1424,7 +1424,9 @@ With prefix arg, indent to that column."
(define-key cua--rectangle-keymap [remap set-mark-command] 'cua-toggle-rectangle-mark)
(define-key cua--rectangle-keymap [remap forward-char] 'cua-resize-rectangle-right)
+ (define-key cua--rectangle-keymap [remap right-char] 'cua-resize-rectangle-right)
(define-key cua--rectangle-keymap [remap backward-char] 'cua-resize-rectangle-left)
+ (define-key cua--rectangle-keymap [remap left-char] 'cua-resize-rectangle-left)
(define-key cua--rectangle-keymap [remap next-line] 'cua-resize-rectangle-down)
(define-key cua--rectangle-keymap [remap previous-line] 'cua-resize-rectangle-up)
(define-key cua--rectangle-keymap [remap end-of-line] 'cua-resize-rectangle-eol)