1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 05:01:02 -08:00

Don't pass a constant as the state

for use-package-process-keywords, because the function may modify the
list object.  Modifying a quoted constant can lead to unexpected side
effects (e.g. values from previous use-package forms end up in
subsequent ones).
This commit is contained in:
Noam Postavsky 2016-04-24 10:31:23 -04:00
parent 758739e6db
commit be7a0e4649

View file

@ -1167,7 +1167,7 @@ this file. Usage:
(let ((body
(macroexp-progn
(use-package-process-keywords name args*
(and use-package-always-defer '(:deferred t))))))
(and use-package-always-defer (list :deferred t))))))
(if use-package-debug
(display-buffer
(save-current-buffer