From: Štěpán Němec Date: Fri, 21 Jan 2011 01:04:56 +0000 (-0600) Subject: calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~183 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a10c414934da18eccff3a5a688c9f42ba483002a;p=emacs.git calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2559c7c5ae..6da4500d266 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-01-21 Å těpán Němec (tiny change) + + * calc/calc-ext.el (calc-init-extensions): Map all `undo' + keybindings to `calc-undo'. + 2011-01-20 Stefan Monnier Don't mess with *temp*. 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)