From 5e5a3412552dd70bf5fe9c664a62cbd019c7a29d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 Jan 2005 17:28:48 +0000 Subject: [PATCH] (dired-mode-map): Remap `undo' and `advertised-undo' instead of rebinding C-x u and C-_. --- lisp/dired.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5