mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Revert "Don't add autoload for existing commands"
This reverts commit a2b23f8326.
This commit is contained in:
parent
30da0769bf
commit
a4a696572d
1 changed files with 3 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue