From: Stefan Monnier Date: Wed, 19 Mar 2008 18:21:52 +0000 (+0000) Subject: (describe-function-1): Don't signal "missing arglist" for autoloaded keymaps. X-Git-Tag: emacs-pretest-23.0.90~7045 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55067594aa916fb1f93101dc7ba747c28b73f66a;p=emacs.git (describe-function-1): Don't signal "missing arglist" for autoloaded keymaps. --- 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)