From d4244ec8cc42672fbec5fdbbd8eb9f257d2f974c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 16 Oct 2022 13:02:24 +0200 Subject: Make help-for-help echo key on failure * lisp/help-macro.el (make-help-screen): Echo key on failure. --- lisp/help-macro.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/help-macro.el') diff --git a/lisp/help-macro.el b/lisp/help-macro.el index 962bc5a8d87..cf024afe254 100644 --- a/lisp/help-macro.el +++ b/lisp/help-macro.el @@ -211,6 +211,9 @@ and then returns." (iconify-frame new-frame)) (setq new-frame nil))) (unless (equal (key-description key) "C-g") + (message (substitute-command-keys + (format "No help command is bound to `\\`%s''" + (key-description key)))) (ding)))))) (when config (set-window-configuration config)) -- cgit v1.2.3