From 55067594aa916fb1f93101dc7ba747c28b73f66a Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 19 Mar 2008 18:21:52 +0000 Subject: [PATCH] (describe-function-1): Don't signal "missing arglist" for autoloaded keymaps. --- lisp/ChangeLog | 3 +++ lisp/help-fns.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 84070f55622..e5f9e969815 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-03-19 Stefan Monnier + * help-fns.el (describe-function-1): Don't signal "missing arglist" + for autoloaded keymaps. + * progmodes/verilog-mode.el (verilog-syntax-ppss): New function. (electric-verilog-terminate-line, verilog-in-struct-region-p) (verilog-backward-ws&directives, verilog-forward-ws&directives) 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) -- 2.39.5