diff options
author | Štěpán Němec <stepnem@gmail.com> | 2011-01-20 19:04:56 -0600 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2011-01-20 19:04:56 -0600 |
commit | a10c414934da18eccff3a5a688c9f42ba483002a (patch) | |
tree | 4daba6fb2fa17eec76235070861f0123d83faa44 /lisp/calc | |
parent | 6e3165fb24673920b31d67a61ee8e8a2e0b25eec (diff) | |
download | emacs-a10c414934da18eccff3a5a688c9f42ba483002a.tar.gz |
calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'.
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calc-ext.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 7042c407907..6fbccaad0b9 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el @@ -136,8 +136,7 @@ (define-key calc-mode-map "\C-w" 'calc-kill-region) (define-key calc-mode-map "\M-w" 'calc-copy-region-as-kill) (define-key calc-mode-map "\M-\C-w" 'kill-ring-save) - (define-key calc-mode-map "\C-_" 'calc-undo) - (define-key calc-mode-map "\C-xu" 'calc-undo) + (define-key calc-mode-map [remap undo] 'calc-undo) (define-key calc-mode-map "\M-\C-m" 'calc-last-args) (define-key calc-mode-map "a" nil) |