summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-03-19 18:21:52 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-03-19 18:21:52 +0000
commit55067594aa916fb1f93101dc7ba747c28b73f66a (patch)
tree787270a89a60591fc24a6730a899c0e0839e33ac /lisp/help-fns.el
parentd148e14dc586e5f94e158c7396588b8183e42ceb (diff)
downloademacs-55067594aa916fb1f93101dc7ba747c28b73f66a.tar.gz
(describe-function-1): Don't signal "missing arglist" for autoloaded keymaps.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index b5172ec024b..dd25fcece1d 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -396,7 +396,7 @@ face (according to `face-differs-from-default-p')."
(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)