summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-02-12 11:41:37 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-02-12 11:41:37 +0000
commita01ba4f1b109b74a54de704fd4cf1cfb397dcae0 (patch)
tree0843ef4febcaea2b9f0ea4c02fd69b814231b6d5 /lisp/help-fns.el
parent295fff2c70e4b6dfef984ec01bc3ba05ff2ad5d2 (diff)
downloademacs-a01ba4f1b109b74a54de704fd4cf1cfb397dcae0.tar.gz
emacs-a01ba4f1b109b74a54de704fd4cf1cfb397dcae0.tar.bz2
emacs-a01ba4f1b109b74a54de704fd4cf1cfb397dcae0.zip
(describe-function-1): Change output for keyboard macros.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 4b5a2e03208..cda2e7d19f2 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -323,6 +323,9 @@ The usage info is built from ARGLIST. DOC can be nil."
function)))))
usage)
(car usage))
+ ((or (stringp def)
+ (vectorp def))
+ (format "\nMacro: %s" (format-kbd-macro def)))
(t "[Missing arglist. Please make a bug report.]")))
(terpri))
(let ((obsolete (and