(make-autoload): Use new arg.
This commit is contained in:
parent
d54fbdfd31
commit
fb2dd97003
2 changed files with 17 additions and 1 deletions
|
@ -124,7 +124,10 @@ or macro definition or a defcustom)."
|
|||
)
|
||||
`(progn
|
||||
(defvar ,varname ,init ,doc)
|
||||
(custom-autoload ',varname ,file))))
|
||||
(custom-autoload ',varname ,file
|
||||
,(condition-case nil
|
||||
(null (cadr (memq :set form)))
|
||||
(error nil))))))
|
||||
|
||||
((eq car 'defgroup)
|
||||
;; In Emacs this is normally handled separately by cus-dep.el, but for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue