Always return `t` from use-package pre/post hooks.

Hooks that don't do this will prevent any further configuration of the package.

Docs: 53bf803f1d/use-package.el (L125)
Context: https://github.com/syl20bnr/spacemacs/pull/8543/files#r106792261
This commit is contained in:
Steven Allen 2017-03-18 16:59:15 -07:00 committed by bmag
parent 48c12d48d0
commit 6b08224ad7
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ override lazy-loaded settings."
(let ((hook (intern (format "use-package--%S--%s-hook"
name-symbol
(substring (format "%s" keyword) 1)))))
(push `(add-hook ',hook (lambda nil ,@body)) expanded-forms)))))
(push `(add-hook ',hook (lambda nil ,@body t)) expanded-forms)))))
`(progn ,@expanded-forms)))
(provide 'core-use-package-ext)