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