changeset 59786:aa04ceecde25

(dired-mode-map): Remap `undo' and `advertised-undo' instead of rebinding C-x u and C-_.
author Richard M. Stallman <rms@gnu.org>
date Sat, 29 Jan 2005 17:28:48 +0000
parents 62b62ef62937
children bc504fb813e7
files lisp/dired.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Sat Jan 29 17:28:00 2005 +0000
+++ b/lisp/dired.el	Sat Jan 29 17:28:48 2005 +0000
@@ -1197,8 +1197,8 @@
     ;; 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.