From d15a42ac453c47c4da8ba1a66170dee106541d63 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 21 Feb 2021 14:03:13 +0100 Subject: [PATCH] Use `undefined' instead of `ignore' in wdired * lisp/wdired.el (wdired-mode-map): Use `undefined' here instead of `ignore' to give the user more feedback. --- lisp/wdired.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/wdired.el b/lisp/wdired.el index a096abd106f..3829ff1f977 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -169,9 +169,9 @@ nonexistent directory will fail." (define-key map "\C-c\C-k" 'wdired-abort-changes) (define-key map "\C-c\C-[" 'wdired-abort-changes) (define-key map "\C-x\C-q" 'wdired-exit) - (define-key map "\C-m" 'ignore) - (define-key map "\C-j" 'ignore) - (define-key map "\C-o" 'ignore) + (define-key map "\C-m" 'undefined) + (define-key map "\C-j" 'undefined) + (define-key map "\C-o" 'undefined) (define-key map [up] 'wdired-previous-line) (define-key map "\C-p" 'wdired-previous-line) (define-key map [down] 'wdired-next-line) -- 2.39.2