]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-function-1): Say "keymap", not "Lisp macro",
authorAndreas Schwab <schwab@suse.de>
Mon, 21 Dec 1998 10:03:01 +0000 (10:03 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 21 Dec 1998 10:03:01 +0000 (10:03 +0000)
if this is an autoloaded keymap.

lisp/help.el

index ddc67c43432fa68a91c800e2659e192675728ebc..051c56e65bacdf2cbb354346fda29ac88dae84ed 100644 (file)
@@ -620,9 +620,10 @@ It can also be nil, if the definition is not associated with any file."
                 "a mocklisp function")
                ((eq (car-safe def) 'autoload)
                 (setq file-name (nth 1 def))
-                (format "%s autoloaded Lisp %s"
+                (format "%s autoloaded %s"
                         (if (commandp def) "an interactive" "an")
-                        (if (nth 4 def) "macro" "function")
+                        (if (eq (nth 4 def) 'keymap) "keymap"
+                          (if (nth 4 def) "Lisp macro" "Lisp function"))
                         ))
                (t "")))
     (when (and parens (not (equal string "")))