From a7bbe154e3bf3a698743890e5b96ea10f51888ed Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sun, 30 Jun 2024 22:25:30 +0200 Subject: [PATCH] Fix handling of help keys in 'y-or-n-p' --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2