projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30da076
)
Revert "Don't add autoload for existing commands"
author
John Wiegley
<johnw@newartisans.com>
Fri, 13 Mar 2015 08:26:09 +0000
(
03:26
-0500)
committer
John Wiegley
<johnw@newartisans.com>
Fri, 13 Mar 2015 08:26:09 +0000
(
03:26
-0500)
This reverts commit
a2b23f8326d06690c8092ecc5e83ba2e4dd3c336
.
lisp/use-package/use-package.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/use-package.el
b/lisp/use-package/use-package.el
index aa80eb0547f5eeabb3eaaa3727141df2fc62cbf1..15012741280045cd7be6825b6f6baae4ef4c5ffe 100644
(file)
--- 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)