Make help-for-help echo key on failure

* lisp/help-macro.el (make-help-screen): Echo key on failure.
This commit is contained in:
Stefan Kangas 2022-10-16 13:02:24 +02:00
parent 77d5be5877
commit d4244ec8cc

View file

@ -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))