]> git.eshelyaron.com Git - emacs.git/commitdiff
Add delete-forward-char to CUA remappings.
authorChong Yidong <cyd@gnu.org>
Sat, 10 Mar 2012 08:26:45 +0000 (16:26 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 10 Mar 2012 08:26:45 +0000 (16:26 +0800)
* lisp/emulation/cua-rect.el (cua--init-rectangles):
* lisp/emulation/cua-base.el (cua--init-keymaps): Add delete-forward-char to remappings.

Fixes: debbugs:9666
lisp/ChangeLog
lisp/emulation/cua-base.el
lisp/emulation/cua-rect.el

index 531c363d3f061deccb4a1eee4a0fd9b520dd47bc..17dc84304f9ca1d0cf4a10fb14cf35859c122562 100644 (file)
@@ -1,3 +1,9 @@
+2012-03-10  Chong Yidong  <cyd@gnu.org>
+
+       * emulation/cua-rect.el (cua--init-rectangles):
+       * emulation/cua-base.el (cua--init-keymaps): Add
+       delete-forward-char to remappings (Bug#9666).
+
 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
 
        * speedbar.el (speedbar-unhighlight-one-tag-line): Avoid
index 9e7be0f670db115b1b52bbc52759e4f5bd9712dd..a918f298a4ed4eeee07f7ded54dbdea80cb6e406 100644 (file)
@@ -1478,6 +1478,7 @@ If ARG is the atom `-', scroll upward by nearly full screen."
   (define-key cua--region-keymap [remap backward-delete-char]  'cua-delete-region)
   (define-key cua--region-keymap [remap backward-delete-char-untabify] 'cua-delete-region)
   (define-key cua--region-keymap [remap delete-char]           'cua-delete-region)
+  (define-key cua--region-keymap [remap delete-forward-char]    'cua-delete-region)
   ;; kill region
   (define-key cua--region-keymap [remap kill-region]           'cua-cut-region)
   (define-key cua--region-keymap [remap clipboard-kill-region] 'cua-cut-region)
index 95b77a697f1d54e1def1cc88386078ecfa77ca47..e3aade760dc13be50783a4428cdf98fe275d0e30 100644 (file)
@@ -1420,6 +1420,7 @@ With prefix arg, indent to that column."
   (define-key cua--rectangle-keymap [remap kill-ring-save]      'cua-copy-rectangle)
   (define-key cua--rectangle-keymap [remap kill-region]         'cua-cut-rectangle)
   (define-key cua--rectangle-keymap [remap delete-char]         'cua-delete-rectangle)
+  (define-key cua--rectangle-keymap [remap delete-forward-char] 'cua-delete-rectangle)
   (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)