diff lisp/help-fns.el @ 93077:49a2376794b9

(describe-function-1): Don't signal "missing arglist" for autoloaded keymaps.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 19 Mar 2008 18:21:52 +0000
parents a1afa11e3c51
children 53d5f10d34bc
line wrap: on
line diff
--- a/lisp/help-fns.el	Wed Mar 19 17:04:18 2008 +0000
+++ b/lisp/help-fns.el	Wed Mar 19 18:21:52 2008 +0000
@@ -396,7 +396,7 @@
 	   (usage (help-split-fundoc doc function)))
       (with-current-buffer standard-output
         ;; If definition is a keymap, skip arglist note.
-        (unless (keymapp def)
+        (unless (keymapp function)
           (let* ((use (cond
                         (usage (setq doc (cdr usage)) (car usage))
                         ((listp arglist)