diff options
author | John Wiegley <johnw@newartisans.com> | 2020-06-18 11:04:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 11:04:04 -0700 |
commit | 4e72885f852604dc17c5bd543dc6cb88c44cf2f1 (patch) | |
tree | 8260e86eed475b85670245e83196fb4809dc8966 /lisp/use-package | |
parent | 218687d8979b1d6e2d5caee636372725a74ba0d9 (diff) | |
parent | 203d15e34e99ac6bbe05bd10b2e849bd98d78d31 (diff) | |
download | emacs-4e72885f852604dc17c5bd543dc6cb88c44cf2f1.tar.gz emacs-4e72885f852604dc17c5bd543dc6cb88c44cf2f1.tar.bz2 emacs-4e72885f852604dc17c5bd543dc6cb88c44cf2f1.zip |
Merge pull request from jjlee/call-hooks-even-if-no-config
GitHub-reference: https://github.com/jwiegley/use-package/issues/840
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/use-package-core.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el index 1d637dbf3d0..e81e229a2f0 100644 --- a/lisp/use-package/use-package-core.el +++ b/lisp/use-package/use-package-core.el @@ -1468,7 +1468,7 @@ no keyword implies `:all'." (use-package-concat (when use-package-compute-statistics `((use-package-statistics-gather :config ',name nil))) - (if (or (null arg) (equal arg '(t))) + (if (and (or (null arg) (equal arg '(t))) (not use-package-inject-hooks)) body (use-package-with-elapsed-timer (format "Configuring package %s" name-symbol) |