Commit graph

605 commits

Author SHA1 Message Date
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
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
Noam Postavsky
f5f4102ca1 get-binding-description: return keymap symbol
instead of "#<keymap>".
2015-03-19 11:25:18 -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
John Wiegley
db69a3f81c Add to the load-path before the :preface
Fixes https://github.com/jwiegley/use-package/issues/172
2015-03-16 12:19:14 -05:00
John Wiegley
9e35dd95d9 More fixes related to byte-compilation 2015-03-16 11:58:37 -05:00
John Wiegley
34bc31e1d4 A few changes for byte-compilation 2015-03-16 11:50:32 -05:00
John Wiegley
1fe2c1c056 :defer now accepts an optional number of seconds 2015-03-16 10:46:25 -05:00
John Wiegley
302c008b45 Permit minimal expansion of macro bodies, and other fixes 2015-03-16 10:39:37 -05:00
John Wiegley
21a091f17a Collapse some whitespace 2015-03-16 03:25:21 -05:00
John Wiegley
05c02aee86 Allow vectors to be passed to :bind again
Fixes https://github.com/jwiegley/use-package/issues/166
2015-03-16 03:19:28 -05:00
John Wiegley
55d6bb00ca Add code to workaround an inefficiency with eval-after-load
This is currently disabled, as it leads to strange byte-compilation
errors that need to be tracked down.
2015-03-16 03:12:23 -05:00