* lisp/emacs-lisp/autoload.el (make-autoload): Don't add useless doc
More specifically, don't add a useless '(fn)' to the docstring for functions which take no arguments. This should fix the 'No docstring slot for pcase--make-docstring' warning during bootstrap.
This commit is contained in:
parent
76fdae8549
commit
01b099bb3d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ expression, in which case we want to handle forms differently."
|
|||
t))))
|
||||
;; Add the usage form at the end where describe-function-1
|
||||
;; can recover it.
|
||||
(when (listp args) (setq doc (help-add-fundoc-usage doc args)))
|
||||
(when (consp args) (setq doc (help-add-fundoc-usage doc args)))
|
||||
;; (message "autoload of %S" (nth 1 form))
|
||||
`(autoload ,(nth 1 form) ,file ,doc ,interactive ,type)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue