]> git.eshelyaron.com Git - emacs.git/commitdiff
calc/calc-ext.el (calc-init-extensions): Map all `undo' keybindings to `calc-undo'.
authorŠtěpán Němec <stepnem@gmail.com>
Fri, 21 Jan 2011 01:04:56 +0000 (19:04 -0600)
committerJay Belanger <jay.p.belanger@gmail.com>
Fri, 21 Jan 2011 01:04:56 +0000 (19:04 -0600)
lisp/ChangeLog
lisp/calc/calc-ext.el

index f2559c7c5aed4ea1dae8850d51d6dd81badf187b..6da4500d2664b0c429e70f2da2b25a2c99153cd1 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
+
+       * calc/calc-ext.el (calc-init-extensions): Map all `undo'
+       keybindings to `calc-undo'.
+
 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        Don't mess with *temp*.
index 7042c4079077e3d4437d37cce43ac751e4424fed..6fbccaad0b965249e85215421bc789abe35dd7a0 100644 (file)
   (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)