From: Richard M. Stallman Date: Sat, 29 Jan 2005 17:28:48 +0000 (+0000) Subject: (dired-mode-map): Remap `undo' and `advertised-undo' X-Git-Tag: ttn-vms-21-2-B4~2540 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e5a3412552dd70bf5fe9c664a62cbd019c7a29d;p=emacs.git (dired-mode-map): Remap `undo' and `advertised-undo' instead of rebinding C-x u and C-_. --- diff --git a/lisp/dired.el b/lisp/dired.el index 0341214a98e..461546ddac5 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -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.