diff options
author | John Wiegley <johnw@newartisans.com> | 2015-03-13 03:26:09 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-03-13 03:26:09 -0500 |
commit | a4a696572df141c87198f04b69a012f111b21bef (patch) | |
tree | 4981349052b86e845a924056b46d8f527dfc3847 /lisp/use-package | |
parent | 30da0769bf91124af0bde01bab65f206a6be9e91 (diff) | |
download | emacs-a4a696572df141c87198f04b69a012f111b21bef.tar.gz emacs-a4a696572df141c87198f04b69a012f111b21bef.tar.bz2 emacs-a4a696572df141c87198f04b69a012f111b21bef.zip |
Revert "Don't add autoload for existing commands"
This reverts commit a2b23f8326d06690c8092ecc5e83ba2e4dd3c336.
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index aa80eb0547f..15012741280 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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) |