From: Noam Postavsky Date: Sun, 24 Apr 2016 14:31:23 +0000 (-0400) Subject: Don't pass a constant as the state X-Git-Tag: emacs-29.0.90~1306^2~15^2~292^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be7a0e46495b336ce3019e6d1dc6e602d703494a;p=emacs.git 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). --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index cdff6ce772e..ffe2dac3e46 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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