1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-06 15:41:27 -08:00
Commit graph

463 commits

Author SHA1 Message Date
John Wiegley
dfd3194d80 Allow match-expansion to take multiple cases 2017-11-30 19:40:54 -08:00
John Wiegley
7a562f10cb Add test for use-package-test-normalize/:ensure 2017-11-30 18:37:27 -08:00
John Wiegley
9465b915a8 Add the missing plist-delete 2017-11-30 18:36:45 -08:00
John Wiegley
98ee89a752 Remove an unneeded defvar 2017-11-30 12:39:04 -08:00
John Wiegley
0be868d39b A final fix to :ensure + :load-path
Fixes https://github.com/jwiegley/use-package/issues/190
2017-11-30 12:38:13 -08:00
John Wiegley
ca94036dce Add a test case for :ensure, following up from
GitHub-reference: https://github.com/jwiegley/use-package/issues/190
2017-11-30 12:38:01 -08:00
John Wiegley
1fc543a212 Don't check for an :ensure that use-package-always-ensure may have added
Fixes https://github.com/jwiegley/use-package/issues/190
2017-11-30 11:20:17 -08:00
John Wiegley
2ff8af6495 Add a use-package-version variable 2017-11-30 11:05:46 -08:00
John Wiegley
c3b9cc2403 Add two new tests 2017-11-30 10:38:01 -08:00
John Wiegley
3ea2d34219 Add stubs for future tests of all keywords 2017-11-30 09:42:47 -08:00
John Wiegley
3847ec28ca Allow :ensure to take a nil value again
Fixes https://github.com/jwiegley/use-package/issues/526
2017-11-30 09:14:28 -08:00
John Wiegley
3cb64648fc Only add :ensure nil on :load-path if use-package-always-ensure is t 2017-11-29 23:08:22 -08:00
John Wiegley
35f46f7b42 Restructure some code 2017-11-29 22:20:43 -08:00
John Wiegley
5e1a656e06 Using :load-path without also using :ensure now implies :ensure nil
Fixes https://github.com/jwiegley/use-package/issues/190
2017-11-29 22:12:19 -08:00
John Wiegley
fab33fef3a Correction to use-package--recognize-function
Finishes https://github.com/jwiegley/use-package/issues/525
2017-11-29 22:03:03 -08:00
John Wiegley
5f2b0cbe8f Allow keys to be bound to nil
Fixes https://github.com/jwiegley/use-package/issues/525
2017-11-29 21:44:02 -08:00
John Wiegley
1167e7d063 Fix a missing `and' 2017-11-29 16:53:41 -08:00
John Wiegley
6a62122e9c Use backquote rather than quote 2017-11-29 16:48:58 -08:00
John Wiegley
0887e1f9d0 Correct use-package-normalize-mode 2017-11-29 16:44:20 -08:00
John Wiegley
d8c1f02bf4 Whitespace fix 2017-11-29 16:44:11 -08:00
John Wiegley
8051c9f5cd Update version and copyright 2017-11-29 16:38:23 -08:00
John Wiegley
bff472ea80 Allow :bind ("C-c C-c" . (lambda () (ding))) and #'(lambda ...)
Fixes https://github.com/jwiegley/use-package/issues/333
Fixes https://github.com/jwiegley/use-package/issues/461
2017-11-29 16:37:03 -08:00
John Wiegley
f256943f9b Reorder some items in NEWS.md 2017-11-29 10:55:47 -08:00
John Wiegley
7499c8812a Add NEWS.md file 2017-11-29 10:53:51 -08:00
John Wiegley
c0a884dfa2 Merge pull request from basil-conto/version
Require Emacs version >= 24.3
GitHub-reference: https://github.com/jwiegley/use-package/issues/519
2017-11-29 08:40:34 -08:00
Basil L. Contovounesios
3db39c0573 Require Emacs version >= 24.3
Re: https://github.com/jwiegley/use-package/issues/457
2017-11-29 16:11:09 +00:00
John Wiegley
2aea700500 Merge pull request from basil-conto/520
Require cl-lib and do not use seq functions
GitHub-reference: https://github.com/jwiegley/use-package/issues/521
2017-11-29 07:57:40 -08:00
John Wiegley
9870843e1c Merge branch 'master' into 520 2017-11-29 07:57:29 -08:00
John Wiegley
9ea305beb6 Add a missing (require 'seq) 2017-11-29 07:55:53 -08:00
Basil L. Contovounesios
4303a2faf6 Require cl-lib and do not use seq functions
cl-lib is also required for a separate call to cl-mapcan.

Fixes https://github.com/jwiegley/use-package/issues/520
2017-11-29 15:47:00 +00:00
John Wiegley
b7041c0f29 When use-package-inject-hooks is non-nil, always fire init/config hooks
This used to not happen if `:init` or `:config` was missing, or set to nil as
with `:init nil`.

Fixes https://github.com/jwiegley/use-package/issues/250
2017-11-28 21:12:25 -08:00
John Wiegley
2825987619 Print map keys in describe-personal-keybindings
Fixes https://github.com/jwiegley/use-package/issues/406
2017-11-28 20:58:04 -08:00
John Wiegley
606284e374 Repeating a bind no longer causes duplicates in personal-keybindings
Fixes https://github.com/jwiegley/use-package/issues/446
2017-11-28 20:52:29 -08:00
John Wiegley
a392f6da55 When byte-compiling, correctly output declare-function directives
Fixes https://github.com/jwiegley/use-package/issues/474
2017-11-28 20:31:40 -08:00
John Wiegley
2c32857d57 Make diminish a soft dependency, as delight already was
Fixes https://github.com/jwiegley/use-package/issues/493
2017-11-28 20:26:48 -08:00
John Wiegley
7531c374bf Allow :diminish to take no argument, once again 2017-11-28 16:27:09 -08:00
John Wiegley
c811637b30 Fix for single :custom (foo bar) 2017-11-28 14:39:59 -08:00
John Wiegley
2ebf076733 Allow :custom (foo1 bar1) (foo2 bar2) etc
Fixes https://github.com/jwiegley/use-package/issues/518
2017-11-28 14:16:13 -08:00
John Wiegley
4ad4a59685 Add support for :hook
Fixes https://github.com/jwiegley/use-package/issues/444
2017-11-28 13:58:38 -08:00
John Wiegley
700c92c5de Append to *use-package* when debugging, don't clear it
Fixes https://github.com/jwiegley/use-package/issues/476
2017-11-28 11:41:50 -08:00
John Wiegley
6f9d4342ca Make unrecognized keywords a warning
This could actually be used to store your own metadata in use-package
declarations, to be (read) later by simply parsing init file contents.

Fixes https://github.com/jwiegley/use-package/issues/483
2017-11-28 11:31:35 -08:00
John Wiegley
9b523d7c4e Upgrade license to GPL 3
Fixes https://github.com/jwiegley/use-package/issues/499
2017-11-28 11:22:53 -08:00
John Wiegley
18b9bf18ad Don't allow :commands, :bind, etc., to be given an empty list
This makes the following an error:

    :commands
    :commands nil
    :commands ()

Fixes https://github.com/jwiegley/use-package/issues/512
2017-11-28 11:17:05 -08:00
John Wiegley
4ddf42185a Explicit :defer t should override use-package-always-demand
Fixes https://github.com/jwiegley/use-package/issues/514
2017-11-28 11:14:30 -08:00
John Wiegley
5ac5f8bc63 Merge pull request from drrlvn/patch-1
Remove duplicate documentation of :mode
GitHub-reference: https://github.com/jwiegley/use-package/issues/489
2017-11-28 11:08:08 -08:00
John Wiegley
c72d8567d2 Corrections to the normalization of :custom 2017-11-28 11:07:36 -08:00
John Wiegley
903ff82219 Merge pull request from joewreschnig/implicit-diminish
Allow `:diminish` with no arguments.
GitHub-reference: https://github.com/jwiegley/use-package/issues/472
2017-11-28 11:07:03 -08:00
John Wiegley
eda2db4f18 Merge pull request from waymondo/master
Allow customized values to be nil
GitHub-reference: https://github.com/jwiegley/use-package/issues/515
2017-11-21 14:30:47 -08:00
Justin Talbott
57ec21a013 allow customized values to be nil 2017-11-20 23:33:34 -05:00
John Wiegley
9bf8264523 Merge pull request from canatella/add-customization-keywords
Add customization keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/508
2017-11-20 15:42:19 -08:00