changeset 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 be40d8a9bcc1
children 232558876fd1
files lisp/ChangeLog lisp/help-fns.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 19 17:04:18 2008 +0000
+++ b/lisp/ChangeLog	Wed Mar 19 18:21:52 2008 +0000
@@ -1,5 +1,8 @@
 2008-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* 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)
--- 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)