]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-mode-map): Remap `undo' and `advertised-undo'
authorRichard M. Stallman <rms@gnu.org>
Sat, 29 Jan 2005 17:28:48 +0000 (17:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 29 Jan 2005 17:28:48 +0000 (17:28 +0000)
instead of rebinding C-x u and C-_.

lisp/dired.el

index 0341214a98e1dd4f3f21a387f8e67459aab12055..461546ddac5d1b8ee4f3101707a8319d34f2aef4 100644 (file)
@@ -1197,8 +1197,8 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
     ;; misc
     (define-key map "?" 'dired-summary)
     (define-key map "\177" 'dired-unmark-backward)
-    (define-key map "\C-_" 'dired-undo)
-    (define-key map "\C-xu" 'dired-undo)
+    (define-key map [remap undo] 'dired-undo)
+    (define-key map [remap advertised-undo] 'dired-undo)
 
     ;; Make menu bar items.