From: Eshel Yaron Date: Sun, 30 Jun 2024 20:25:30 +0000 (+0200) Subject: Fix handling of help keys in 'y-or-n-p' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a7bbe154e3bf3a698743890e5b96ea10f51888ed;p=emacs.git Fix handling of help keys in 'y-or-n-p' --- diff --git a/lisp/subr.el b/lisp/subr.el index 514418112a6..7ece0f79a8d 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3724,7 +3724,7 @@ There is no need to explicitly add `help-char' to CHARS; (define-key map [remap skip] #'y-or-n-p-insert-n) (dolist (symbol '(backup undo undo-all edit edit-replacement - delete-and-edit ignore self-insert-command)) + delete-and-edit ignore self-insert-command help)) (define-key map (vector 'remap symbol) #'y-or-n-p-insert-other)) (define-key map [remap recenter] #'minibuffer-recenter-top-bottom)