emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d4244ec8cc 3/3: Make help-for-help echo key on failure


From: Stefan Kangas
Subject: master d4244ec8cc 3/3: Make help-for-help echo key on failure
Date: Sun, 16 Oct 2022 07:04:29 -0400 (EDT)

branch: master
commit d4244ec8cc42672fbec5fdbbd8eb9f257d2f974c
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

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

diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 962bc5a8d8..cf024afe25 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]