Commit graph

184 commits

Author SHA1 Message Date
John Wiegley
38c170e17b Merge pull request from kovrik/issue-299
Move :pin out of macro expansion phase
GitHub-reference: https://github.com/jwiegley/use-package/issues/302
2016-01-12 16:01:19 -05:00
John Wiegley
95038f96f1 Guard against a case where :load-paths is nil 2016-01-06 15:50:43 -08:00
Ivan Goncharov
d1c78a646c Move :pin out of macro expansion phase fixes 2016-01-06 12:56:54 +13:00
Ivan Goncharov
308e4e3f2c Move :pin out of macro expansion phase 2016-01-06 11:15:22 +13:00
Ivan Goncharov
d9f37b4f0c Install packages when byte-compiling (fix by @npostavs) 2015-11-13 11:08:02 +13:00
John Wiegley
b1f442c15b Apply a fix from npostavs relating to
GitHub-reference: https://github.com/jwiegley/use-package/issues/279
2015-11-09 17:33:05 -08:00
John Wiegley
734c5e7119 Merge pull request from kovrik/master
Move :ensure option execution from macro expansion phase to runtime phase
GitHub-reference: https://github.com/jwiegley/use-package/issues/273
2015-11-09 18:58:21 -05:00
Phillip Lord
564f9bb74b Support for after keyword
After provides `eval-after-load' functionality for any number of
features. This helps to avoid deeply nested `use-package' statements.

Closes https://github.com/jwiegley/use-package/issues/274
2015-11-04 22:50:48 +00:00
Ivan Goncharov
ac47f783da Move :ensure option from macro expansion phase to runtime phase 2015-11-03 14:43:51 +13:00
John Wiegley
ff8bdfcdca Bump version to 2.1 2015-09-26 08:46:44 -07:00
Justin Talbott
6298e7e477 pass in symbol of bind macro, for more extensible re-use of same handler
related to https://github.com/jwiegley/use-package/issues/258
2015-09-23 11:06:58 -04:00
John Wiegley
3e2747f174 Revert "Merge pull request from edvorg/master"
This reverts commit 38b213c6c382f87b7f6e60d0c97d37f2951c2482, reversing
changes made to 7d34df4f5dd26b6d8b0899e6508c9af5dedf2dc4.
GitHub-reference: https://github.com/jwiegley/use-package/issues/247
2015-09-06 20:51:31 -07:00
Edward Knyshov
9c1156dbf8 error handling for use-package
GitHub-reference: https://github.com/jwiegley/use-package/issues/246
2015-08-30 11:23:49 +03:00
Aleksey Kladov
d514592746 fix quotation error 2015-08-17 23:41:28 +03:00
Noam Postavsky
3cdc6c39bf Re-add support for string package names
e.g. (use-package "isearch") rather than (use-package isearch)
2015-08-14 16:05:08 -04:00
Nick Alcock
1cbcd66ebe Support :bind (:map '(...))
We transform it into (:map foo (...) (...)) in the normalizer, and
no longer warn about unknown sorts of arg.
2015-07-31 12:30:39 +01:00
John Wiegley
269b1080ae Merge pull request from thomasf/master
Refresh package.el archives if package is missing.
GitHub-reference: https://github.com/jwiegley/use-package/issues/210
2015-06-22 12:44:34 -05:00
John Wiegley
d3f47a7401 Merge pull request from killdash9/keymap
bind-keymap fixes.
GitHub-reference: https://github.com/jwiegley/use-package/issues/199
2015-06-11 21:03:34 -05:00
Sylvain Benner
90e3f48111 Fix calls to run-hooks for :init and :config injected hooks 2015-05-19 21:07:30 -04:00
Thomas Frössman
6f0586ef52 Refresh package.el archives if package is missing 2015-05-08 12:19:35 +02:00
Russell Black
a53b5062c4 bind-keymap fixes
Override argument no longer ignored.  Not adding keymap to list of
commands. `eval' no longer appears to be necessary, using direct
invocation of bind-key*.
2015-04-11 18:08:58 -06:00
John Wiegley
f1a00054b1 Keymap bindings must be interactive 2015-03-25 18:14:49 -05:00
John Wiegley
c850481d06 Failed to require a package is just a message 2015-03-24 22:30:48 -05:00
John Wiegley
d1e91745b3 Minor fix to :diminish 2015-03-24 21:59:10 -05:00
John Wiegley
c3a4b03b5f Fix a bug in the :delight support 2015-03-23 00:38:51 -05:00
John Wiegley
800669d9da Add :delight support, thanks to darkfeline on GitHub
Fixes https://github.com/jwiegley/use-package/issues/189
2015-03-21 23:35:58 -05:00
John Wiegley
80aad34a39 Add new customization use-package-always-ensure
Fixes https://github.com/jwiegley/use-package/issues/27
2015-03-21 04:19:33 -05:00
John Wiegley
47586c714e Fix file headers 2015-03-21 03:57:09 -05:00
John Wiegley
d70d70843a Correction to an eval-after-load expansion 2015-03-21 03:49:08 -05:00
John Wiegley
8c00f108bf Change use-package to use bind-keys and bind-keys*
Fixes https://github.com/jwiegley/use-package/issues/129
2015-03-21 03:46:26 -05:00
John Wiegley
2abf565af2 :pin should return `t' 2015-03-21 03:12:32 -05:00
John Wiegley
e7f3f97a71 Modular support appears to be working 2015-03-21 02:57:18 -05:00
John Wiegley
f1ab3291f6 Began work on modular handling of keywords 2015-03-19 22:26:53 -05:00
John Wiegley
94ad68330d Rename use-package-with-elapsed-timer at an internal name
See https://github.com/jwiegley/use-package/issues/185
2015-03-19 18:48:14 -05:00
John Wiegley
b30b279a99 Remove code I did not intend to commit 2015-03-19 18:47:15 -05:00
John Wiegley
f45c4f0edd Merge pull request from npostavs/macroexp-progn
use-package-progn: replace with macroexp-progn
GitHub-reference: https://github.com/jwiegley/use-package/issues/186
2015-03-19 18:46:37 -05:00
John Wiegley
c2f5b2479d Fix some docstrings 2015-03-19 18:45:30 -05:00
Noam Postavsky
3467e4eaa6 use-package-progn: replace with macroexp-progn 2015-03-19 17:40:41 -04:00
John Wiegley
1b6605652c Use push instead of add-to-list 2015-03-19 04:42:22 -05:00
John Wiegley
38f907cc5d Remove a hack that is not needed anymore 2015-03-19 04:39:07 -05:00
John Wiegley
2778e85a39 macroexpand nested uses of use-package in :init and :config 2015-03-18 20:56:45 -05:00
John Wiegley
19ab94cf39 Wrap the :preface in an eval-and-compile block 2015-03-18 20:53:55 -05:00
John Wiegley
8769309fbf Remove a use of macroexpand 2015-03-18 05:46:25 -05:00
John Wiegley
658d103b70 Make a warning more specific 2015-03-18 03:25:21 -05:00
John Wiegley
5787ff074c More work to silence the byte-compiler 2015-03-18 03:10:36 -05:00
John Wiegley
46435d7b84 Other minor improvements for byte-compiling 2015-03-17 11:50:25 -05:00
John Wiegley
d2679595fa Several minor improvements and fixes 2015-03-17 11:42:04 -05:00
John Wiegley
eda8246fc6 Change some code for consistency's sake 2015-03-17 10:21:34 -05:00
Russell Black
8d7a0c2185 minor fixes to get bind-keymap working in 2.0 2015-03-16 22:55:48 -06:00
John Wiegley
771f2edc83 Always return t on a successful init-time load
Fixes https://github.com/jwiegley/use-package/issues/174
2015-03-16 22:12:52 -05:00