Phillip Lord
ba4aeb600d
Fix errant variable name
2016-01-21 09:06:28 +00:00
Phillip Lord
f4a01f3e00
Add new option `-always-pin'
...
`use-package-always-pin' allows a default archive (or manual) to be
specified for all use-package statements, unless explicitly overridden.
2016-01-20 22:02:26 +00:00
Ivan Goncharov
c42e3f5669
Change condition that checks if package has been initialized
2016-01-20 10:51:20 +13:00
Ivan Goncharov
19474a1711
Do not package-initialize on each :pin
2016-01-18 14:41:27 +13:00
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
3ce3b3a98c
Add a missing comma
2016-01-12 07:58:06 -08:00
John Wiegley
b4ec5abad2
Add a PREDICATE option to bind-key, and :filter to `bind-keys'
2016-01-11 22:38:31 -08:00
Justin Talbott
cd867dfe2f
allow string values in cons for :bind keywords
...
It is possible with `bind-key` and `define-key` (and also `bind-chord`
and `key-chord-define`) to define a binding to a string's value, i.e:
``` elisp
(bind-key "C-;" "the ")
(bind-chord "^^" "λ")
```
This adds an option for `(use-package-normalize-pairs)` that allows
string values to be given with the `:bind` (and also `:chord`) keywords
to expand into these definitions.
2016-01-08 14:35:17 -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
John Wiegley
ed2e85e4a7
Use cl-mapcan rather than apply 'nconc; thanks wasamasa
2015-12-20 14:39:46 -08: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
Alex Kost
d81390f6de
Handle the case when keymap has a broken documentation
2015-06-22 19:43:55 +03: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
348bc57141
unbind-key now removes key from personal-keybindings
...
Fixes https://github.com/jwiegley/use-package/issues/74
2015-03-21 04:13:02 -05:00
John Wiegley
47586c714e
Fix file headers
2015-03-21 03:57:09 -05:00
John Wiegley
53bb14cfb7
Add autoload stanzas to bind-key
...
Fixes https://github.com/jwiegley/use-package/issues/33
2015-03-21 03:50:51 -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
012c37d722
Change bind-key* behavior to mimic bind-keys*
...
Fixes https://github.com/jwiegley/use-package/issues/148
2015-03-21 03:32:10 -05:00
John Wiegley
029e46a874
Whitespace cleanups
2015-03-21 03:30:52 -05:00
John Wiegley
eb6b81dfec
Allow :map in bind-keys to accept multiple maps
...
Fixes https://github.com/jwiegley/use-package/issues/129
2015-03-21 03:30:04 -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