mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
(describe-key-briefly): Make output in INSERT case
look just like what is displayed in the normal case.
This commit is contained in:
parent
1b741d9e27
commit
80d553d4cd
@ -477,11 +477,9 @@ If INSERT (the prefix arg) is non-nil, insert the message in the buffer."
|
||||
(key-desc (key-description key)))
|
||||
(if (or (null defn) (integerp defn))
|
||||
(princ (format "%s is undefined" key-desc))
|
||||
(princ (format (if insert
|
||||
"`%s' (`%s')"
|
||||
(if (windowp window)
|
||||
"%s at that spot runs the command %s"
|
||||
"%s runs the command %s"))
|
||||
(princ (format (if (windowp window)
|
||||
"%s at that spot runs the command %s"
|
||||
"%s runs the command %s")
|
||||
key-desc
|
||||
(if (symbolp defn) defn (prin1-to-string defn)))))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user