John Wiegley
22de8991c1
Merge pull request from skangas/fix-typo
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/987
2022-08-07 08:19:55 -07:00
Stefan Kangas
cb85f9c274
Fix typo in use-package docstring
2022-06-26 16:14:14 +02:00
John Wiegley
ffa5f0397a
Merge pull request from minad/improved-unbind
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/910
2021-02-10 08:09:23 -08:00
Daniel Mendler
5ca7bc321d
unbind-key: Ensure that keys are removed from the keymap
...
* The removal from the keymap is performed by bind-key--remove
* Use the same argument normalization as bind-key
2021-02-10 15:34:12 +01:00
Daniel Mendler
ec750952f4
bind-key: Use new symbols for kmapvar
2021-02-10 15:23:44 +01:00
John Wiegley
a248658910
Merge pull request from tzz/tzz/use-package-use-theme
...
Add use-package-use-theme and avoid missing theme errors
GitHub-reference: https://github.com/jwiegley/use-package/issues/907
2021-02-07 11:26:37 -08:00
Ted Zlatanov
2b9536f242
Add use-package-use-theme and avoid missing theme errors
2021-02-06 10:46:00 +00:00
Ted Zlatanov
c425e67a19
Merge pull request from kljohann/custom-use-single-let
...
Use a single let binding when expanding consecutive :custom forms
GitHub-reference: https://github.com/jwiegley/use-package/issues/906
2021-02-06 04:21:59 -05:00
Johann Klähn
e3938e7b26
Use a single let binding when expanding consecutive :custom forms
...
Copyright-paperwork-exempt: yes
2021-02-03 22:55:17 +01:00
John Wiegley
e4daf0cd42
Merge pull request from tzz/tzz/remove-use-package-from-custom-enabled-themes
...
Remove use-package theme from global list of custom-enabled-themes
GitHub-reference: https://github.com/jwiegley/use-package/issues/899
2021-02-01 09:39:33 -08:00
Ted Zlatanov
6b7ab46e57
Remove use-package theme from global list of custom-enabled-themes
...
* eval-when-compile for cases where use-package is only required at
compile time
* remove the 'use-package theme from custom-enabled-themes so e.g.
(mapc #'disable-theme custom-enabled-themes)
won't kill user settings.
2021-01-10 14:20:37 +00:00
John Wiegley
3ffb662dcc
Merge pull request from tzz/tzz/set-comment-and-synthetic-theme
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/881
2021-01-06 13:45:39 -08:00
Ted Zlatanov
a3c310c11a
Create new "use-package" themse and use it for :custom with custom-theme-set-variables
2020-11-29 14:56:10 +00:00
Ted Zlatanov
5ceb51ae19
set property theme-value to avoid saving variable
2020-11-29 12:09:48 +00:00
Ted Zlatanov
3e24a7363b
Revert "use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice"
...
This reverts commit 8c31c57106 .
2020-11-29 12:09:48 +00:00
Ted Zlatanov
8ef7978028
set saved-variable-comment from :custom
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/861
2020-11-29 12:09:48 +00:00
John Wiegley
99643f8873
Update version to 2.4.1
2020-11-10 13:33:45 -08:00
John Wiegley
10c6400d34
Merge pull request from wyuenho/patch-1
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/846
2020-08-05 10:27:15 -07:00
Jimmy Yuen Ho Wong
1f54de9210
Merge branch 'master' into patch-1
2020-07-22 02:05:31 +01:00
John Wiegley
c358eedcf9
Merge pull request from tzz/custom-set-default
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/855
2020-07-21 14:56:27 -07:00
Ted Zlatanov
13b1e202bf
Update the documentation for :custom as per
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/850
2020-07-12 16:09:10 -04:00
Jimmy Yuen Ho Wong
d3f847eaee
Fix broken test due to
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/850
2020-07-12 15:57:49 -04:00
Jimmy Yuen Ho Wong
2ca2212f73
better tests
2020-07-08 04:46:57 +01:00
Jimmy Yuen Ho Wong
de49954965
add test for
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/845
2020-07-08 04:46:57 +01:00
Jimmy Yuen Ho Wong
950068809b
Support keymap symbol in bind-key
...
GitHub-reference: fix https://github.com/jwiegley/use-package/issues/845
2020-07-08 04:46:56 +01:00
John Wiegley
3e96664ffe
Merge pull request from tzz/custom-set-default
...
use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice
GitHub-reference: https://github.com/jwiegley/use-package/issues/850
2020-06-29 11:56:42 -07:00
Ted Zlatanov
8c31c57106
use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice
2020-06-22 14:24:09 -04:00
John Wiegley
4e72885f85
Merge pull request from jjlee/call-hooks-even-if-no-config
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/840
2020-06-18 11:04:04 -07:00
John Wiegley
203d15e34e
Merge branch 'master' into call-hooks-even-if-no-config
2020-06-18 11:03:35 -07:00
John Wiegley
218687d897
Merge pull request from nahuel/patch-1
...
GitHub-reference: https://github.com/jwiegley/use-package/issues/843
2020-05-20 16:05:37 -07:00
Nahuel Greco
44c837879e
typo, should be a vector, not a bytecode object
...
Solves https://github.com/jwiegley/use-package/issues/842
2020-05-20 13:44:47 -03:00
John Lee
0ec4660f74
Add special value back again, in case needed for backwards compat
...
I don't know why this special value exists, but perhaps old client code uses it.
The additional `t' in the macro expansion is accidental but not harmful I guess.
Copyright-paperwork-exempt: yes
2020-05-09 23:46:53 +01:00
John Lee
f30d5761af
Even when there's no :config, run any pre/post config hooks
...
i.e., following the existing docs for use-package-inject-hooks, these hooks are
run:
use-package--foo--pre-config-hook
use-package--foo--post-config-hook
This should make config customisations more predictable (for example, spacemacs
uses these hooks extensively to allow 'layers' to be customised).
I got rid of the "special" default value for :config, because it doesn't seem to
be treated any differently than nil.
Fixes https://github.com/jwiegley/use-package/issues/785
Copyright-paperwork-exempt: yes
2020-05-09 23:46:53 +01:00
John Wiegley
91e5d275af
Merge pull request from jwiegley/johnw/clarify
...
Clarify the documentation for :after
GitHub-reference: https://github.com/jwiegley/use-package/issues/820
2020-03-22 14:10:31 -07:00
John Wiegley
8b8522650e
Clarify the documentation for :after
2020-03-04 16:29:16 -08:00
John Wiegley
8e81459dad
Merge pull request from DamienCassou/typos
...
Fix typos
GitHub-reference: https://github.com/jwiegley/use-package/issues/808
2019-11-26 13:34:57 -07:00
Damien Cassou
3a58f53b14
Fix typos
...
Typos found with codespell.
2019-11-26 21:28:51 +01:00
John Wiegley
0456f878fc
Merge pull request from tarsiiformes/typos
...
Fix typos
GitHub-reference: https://github.com/jwiegley/use-package/issues/804
2019-11-09 20:16:21 -08:00
Jonas Bernoulli
8c7fa11a3f
Fix typos
2019-11-06 13:49:46 +01:00
John Wiegley
165f2dd968
Use require', not load', when byte-compiling ()
...
Use `require', not `load', when byte-compiling
GitHub-reference: https://github.com/jwiegley/use-package/issues/783
2019-07-16 11:29:12 -07:00
Radon Rosborough
20415fb9be
Update tests
2019-07-15 22:20:18 -07:00
Radon Rosborough
4c8d5f0b21
Switch from require' to load' + `featurep'
2019-07-15 22:11:13 -07:00
Radon Rosborough
27fd32c47b
Use require', not load', when byte-compiling
2019-07-12 08:25:21 -07:00
John Wiegley
97f0287e19
Make custom-face evaluate elisp. ()
...
Make custom-face evaluate elisp.
GitHub-reference: https://github.com/jwiegley/use-package/issues/773
2019-05-29 13:40:03 -07:00
Vincent Zhang
c297dfdd20
Make custom-face evaluate elisp
...
Fix https://github.com/jwiegley/use-package/issues/696 .
Copyright-paperwork-exempt: yes
2019-05-29 17:42:19 +08:00
John Wiegley
3e36cbfb6d
Merge pull request from stribb/master
...
Add a line of documentation for (use-pacakage ... :hook).
GitHub-reference: https://github.com/jwiegley/use-package/issues/759
2019-04-05 13:47:24 -07:00
Andrew Stribblehill
95f24f9628
Add a line of documentation for (use-pacakage ... :hook)
...
Copyright-paperwork-exempt: yes
2019-04-04 11:19:52 +02:00
John Wiegley
7e40a9c424
Merge pull request from conao3/fix_default_value
...
fix gethash default value for use-package-statistics-time
GitHub-reference: https://github.com/jwiegley/use-package/issues/681
2018-11-19 15:50:27 -08:00
John Wiegley
77ad44639f
Merge pull request from tarsiiformes/silencio
...
Silence byte-compiler on Emacs 25
GitHub-reference: https://github.com/jwiegley/use-package/issues/733
2018-11-10 09:58:42 -08:00
Jonas Bernoulli
fc6fef6869
Silence byte-compiler on Emacs 25
...
Emacs 25 defined a global variable `features', which triggers a
warning "Lexical argument shadows the dynamic variable features".
That's not `use-package's fault, but we should suppress the warning
anyway, so that there is no additional noise that would cause us to
potentially overlook warnings that absolutely have to be addressed.
2018-11-10 18:52:37 +01:00