From a01ba4f1b109b74a54de704fd4cf1cfb397dcae0 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 12 Feb 2003 11:41:37 +0000 Subject: [PATCH] (describe-function-1): Change output for keyboard macros. --- lisp/ChangeLog | 5 +++++ lisp/help-fns.el | 3 +++ 2 files changed, 8 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 91676997b43..773d4a06b3a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-02-12 Luc Teirlinck + + * help-fns.el (describe-function-1): Change output for keyboard + macros. + 2003-02-12 Andreas Schwab * progmodes/sh-script.el (sh-mode-map): Don't remap 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 -- 2.39.2