]> git.eshelyaron.com Git - emacs.git/commit
Add use-package-defaults
authorRadon Rosborough <radon.neon@gmail.com>
Mon, 16 Jan 2017 21:47:31 +0000 (13:47 -0800)
committerRadon Rosborough <radon.neon@gmail.com>
Mon, 16 Jan 2017 21:47:31 +0000 (13:47 -0800)
commit3dec23c0860ad297436b9b71b221491ae3790cce
tree5e454f676a15a85648ff33bd93b7ce8b841d5567
parentc637f2be433ba0bff18ebfb828f80ea63e1a7853
Add use-package-defaults

Previously, the :config, :ensure, and :pin keywords had default
values (dependent on the values of the use-package-always-ensure and
use-package-always-pin). This change allows the user to customize the
default values used for those keywords, and add default values for
their own keywords in a non-hacky way.

This functionality would be useful for (as an example) the
quelpa-use-package package, which needs to use an advice to override
the functionality of :ensure. The same problem prevents adding a
use-package-always-quelpa variable in any reasonable way, without a
way to customize the default values of keywords.
lisp/use-package/use-package.el