]> git.eshelyaron.com Git - emacs.git/commitdiff
; Clarify message in last change
authorStefan Kangas <stefankangas@gmail.com>
Wed, 10 Jan 2024 22:50:16 +0000 (23:50 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 10 Jan 2024 22:50:16 +0000 (23:50 +0100)
* lisp/info.el (Info-goto-emacs-key-command-node): Clarify message in
last change.

lisp/info.el

index 02ba8b0eff968350e1dad1e48d54eeb7c4eb99fa..e56344825b9d4df810c17b76ecb91623d264d6fd 100644 (file)
@@ -4736,8 +4736,11 @@ the variable `Info-file-list-for-emacs'."
           ((symbolp command)
            (Info-goto-emacs-command-node command))
          (t
-          (message "%s invokes an anonymous command"
-                    (key-description key))))))
+          (message
+            (substitute-command-keys
+             (format
+              "\\`%s' invokes an anonymous command defined with `lambda'"
+              (key-description key))))))))
 \f
 (defvar Info-link-keymap
   (let ((keymap (make-sparse-keymap)))