]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-key-briefly): Make output in INSERT case
authorRichard M. Stallman <rms@gnu.org>
Fri, 15 Feb 2002 19:59:25 +0000 (19:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 15 Feb 2002 19:59:25 +0000 (19:59 +0000)
look just like what is displayed in the normal case.

lisp/help.el

index 70951e021b90e3baf1478601f10ef99bf817d80b..82afa023f224a0f9b1cc8700fa9f0e70cb956c9c 100644 (file)
@@ -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)))))))))