]> git.eshelyaron.com Git - emacs.git/commit
Ensure package-pinned-packages is bound before referencing it
authorMike Appleby <mike@app.leby.org>
Mon, 15 Aug 2016 03:43:36 +0000 (22:43 -0500)
committerMike Appleby <mike@app.leby.org>
Mon, 15 Aug 2016 16:48:33 +0000 (11:48 -0500)
commitef0cbfdc7332708587827f5fc7181e24d4f5af4d
treeeaa2993849b65e7688728e25ce25c555c4627103
parent4629e86240a7494df77009a8925752c9a90e8a10
Ensure package-pinned-packages is bound before referencing it

Add a bound-and-true-p guard to package-pinned-packages before
referencing it in use-package-ensure-elpa.

Package pinning was introduced in Emacs 24.4, and hence
package-pinned-packages in unbound by default in earlier versions.

Relevant commits:
 72452b5 Merge pull request https://github.com/jwiegley/use-package/issues/367 from ketbra/master
 5053f75 Make pin and ensure compatible

Fixes https://github.com/jwiegley/use-package/issues/375

Copyright-paperwork-exempt: yes
lisp/use-package/use-package.el