diff options
Diffstat (limited to 'lisp/use-package/use-package.el')
-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) |