Revert "Don't add autoload for existing commands"
This reverts commit a2b23f8326.
This commit is contained in:
@@ -499,11 +499,9 @@ For full documentation. please see commentary.
|
||||
,(if (and (or commands (use-package-plist-get args :defer))
|
||||
(not (use-package-plist-get args :demand)))
|
||||
(let (form)
|
||||
(mapc (lambda (command)
|
||||
(push `(unless (fboundp (quote ,command))
|
||||
(autoload (function ,command)
|
||||
,name-string nil t))
|
||||
form))
|
||||
(mapc #'(lambda (command)
|
||||
(push `(autoload (function ,command)
|
||||
,name-string nil t) form))
|
||||
commands)
|
||||
|
||||
`(when ,(or predicate t)
|
||||
|
||||
Reference in New Issue
Block a user