]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoMerge pull request from sdwolfz/native-compiler-warning
John Wiegley [Fri, 9 Sep 2022 20:43:41 +0000 (13:43 -0700)]
Merge pull request from sdwolfz/native-compiler-warning

GitHub-reference: https://github.com/jwiegley/use-package/issues/997

2 years agoFix emacs native compilation warning
Codruț Constantin Gușoi [Fri, 9 Sep 2022 07:03:18 +0000 (08:03 +0100)]
Fix emacs native compilation warning

```
 ■  Warning (comp): use-package-core.el:907:2: Warning: docstring has
wrong usage of unescaped single quotes (use \= or different quoting)
 ■  Warning (comp): use-package-core.el:930:2: Warning: docstring has
wrong usage of unescaped single quotes (use \= or different quoting)
```

To reproduce, have emacs build with native compilation and notice the
compilation logs. You can then open this file and run `M-x
emacs-lisp-native-compile-and-load` before and after the changes to see the
warning is removed.

2 years agoRevert "Remove use-package-font-lock-keywords"
John Wiegley [Fri, 19 Aug 2022 05:53:04 +0000 (22:53 -0700)]
Revert "Remove use-package-font-lock-keywords"

This reverts commit 4938167bfffcf08279445827d2eaae78c9557675.

2 years agoMerge pull request from belak/remove-extra-font-lock-keywords
John Wiegley [Fri, 19 Aug 2022 00:27:55 +0000 (17:27 -0700)]
Merge pull request from belak/remove-extra-font-lock-keywords

GitHub-reference: https://github.com/jwiegley/use-package/issues/859

2 years agoMerge pull request from realcomplex/override-global-mode-fix
John Wiegley [Mon, 15 Aug 2022 19:25:50 +0000 (12:25 -0700)]
Merge pull request from realcomplex/override-global-mode-fix

GitHub-reference: https://github.com/jwiegley/use-package/issues/993

2 years agoGo back to making `override-global-mode` non-global
realcomplex [Thu, 11 Aug 2022 07:08:25 +0000 (09:08 +0200)]
Go back to making `override-global-mode` non-global

Copyright-paperwork-exempt: yes

2 years agoMake sure that bind-key's `override-global-mode` is initially on
Koen van Greevenbroek [Wed, 10 Aug 2022 08:59:44 +0000 (10:59 +0200)]
Make sure that bind-key's `override-global-mode` is initially on

In 4004dde the arguments to `define-minor-mode` were changed
erroneously. Whereas the `override-global-mode` was initially defined
as `(define-minor-mode override-global-mode "..." t "")`, the two
latter arguments where changed to `:global t :lighter ""`. However,
the two original arguments corresponded to the keywords `:init-value`
and `:lighter`, respectively.

With `:init-value t` now missing, the minor mode isn't enabled by
default, and `bind-key*` appears not to work.

Copyright-paperwork-exempt: yes

2 years agoMerge pull request from tarsiiformes/quote-quote
John Wiegley [Tue, 9 Aug 2022 00:42:58 +0000 (17:42 -0700)]
Merge pull request from tarsiiformes/quote-quote

GitHub-reference: https://github.com/jwiegley/use-package/issues/990

2 years agoQuote single quotes in docstrings or use different quoting
Jonas Bernoulli [Mon, 8 Aug 2022 11:33:17 +0000 (13:33 +0200)]
Quote single quotes in docstrings or use different quoting

The byte-compiler started pointing this out:
  Warning: docstring has wrong usage of unescaped single
  quotes (use \= or different quoting)

2 years agoMerge pull request from tarsiiformes/cleanup-manual
John Wiegley [Mon, 8 Aug 2022 19:25:35 +0000 (12:25 -0700)]
Merge pull request from tarsiiformes/cleanup-manual

GitHub-reference: https://github.com/jwiegley/use-package/issues/968

2 years agomanual: Regenerate texi file
Jonas Bernoulli [Mon, 8 Aug 2022 11:26:10 +0000 (13:26 +0200)]
manual: Regenerate texi file

2 years agoMerge pull request from conao3/fix-declare-style
John Wiegley [Sun, 7 Aug 2022 15:58:26 +0000 (08:58 -0700)]
Merge pull request from conao3/fix-declare-style

GitHub-reference: https://github.com/jwiegley/use-package/issues/760

2 years agoMerge pull request from waymondo/ensure-system-packages-use-package-as-one
John Wiegley [Sun, 7 Aug 2022 15:58:12 +0000 (08:58 -0700)]
Merge pull request from waymondo/ensure-system-packages-use-package-as-one

GitHub-reference: https://github.com/jwiegley/use-package/issues/774

2 years agoMerge pull request from waymondo/use-package-hook-handler-flatten-mode-symbols
John Wiegley [Sun, 7 Aug 2022 15:57:58 +0000 (08:57 -0700)]
Merge pull request from waymondo/use-package-hook-handler-flatten-mode-symbols

GitHub-reference: https://github.com/jwiegley/use-package/issues/775

2 years agoMerge pull request from waymondo/use-package-chords-autoloading-and-mapping-improvements
John Wiegley [Sun, 7 Aug 2022 15:56:56 +0000 (08:56 -0700)]
Merge pull request from waymondo/use-package-chords-autoloading-and-mapping-improvements

GitHub-reference: https://github.com/jwiegley/use-package/issues/778

2 years agoMerge pull request from matzebond/master
John Wiegley [Sun, 7 Aug 2022 15:56:06 +0000 (08:56 -0700)]
Merge pull request from matzebond/master

GitHub-reference: https://github.com/jwiegley/use-package/issues/787

2 years agoMerge pull request from wcy123/master
John Wiegley [Sun, 7 Aug 2022 15:53:36 +0000 (08:53 -0700)]
Merge pull request from wcy123/master

GitHub-reference: https://github.com/jwiegley/use-package/issues/822

2 years agoMerge pull request from phst/lex
John Wiegley [Sun, 7 Aug 2022 15:49:45 +0000 (08:49 -0700)]
Merge pull request from phst/lex

GitHub-reference: https://github.com/jwiegley/use-package/issues/848

2 years agoMerge pull request from phst/flet
John Wiegley [Sun, 7 Aug 2022 15:49:35 +0000 (08:49 -0700)]
Merge pull request from phst/flet

GitHub-reference: https://github.com/jwiegley/use-package/issues/849

2 years agoMerge pull request from conao3/add-custom-face-description
John Wiegley [Sun, 7 Aug 2022 15:48:29 +0000 (08:48 -0700)]
Merge pull request from conao3/add-custom-face-description

GitHub-reference: https://github.com/jwiegley/use-package/issues/863

2 years agoMerge pull request from iaeerfung/master
John Wiegley [Sun, 7 Aug 2022 15:40:14 +0000 (08:40 -0700)]
Merge pull request from iaeerfung/master

GitHub-reference: https://github.com/jwiegley/use-package/issues/912

2 years agoMerge pull request from wyuenho/set-default-use-package-enable-imenu-support
John Wiegley [Sun, 7 Aug 2022 15:37:34 +0000 (08:37 -0700)]
Merge pull request from wyuenho/set-default-use-package-enable-imenu-support

GitHub-reference: https://github.com/jwiegley/use-package/issues/920

2 years agoMerge pull request from wyuenho/statistics-sorting
John Wiegley [Sun, 7 Aug 2022 15:37:18 +0000 (08:37 -0700)]
Merge pull request from wyuenho/statistics-sorting

GitHub-reference: https://github.com/jwiegley/use-package/issues/921

2 years agoMerge pull request from Hugo-Heagren/bind-keys-repeat-map
John Wiegley [Sun, 7 Aug 2022 15:30:25 +0000 (08:30 -0700)]
Merge pull request from Hugo-Heagren/bind-keys-repeat-map

GitHub-reference: https://github.com/jwiegley/use-package/issues/974

2 years agoMerge pull request from danielpza/add-update-custom-package
John Wiegley [Sun, 7 Aug 2022 15:28:07 +0000 (08:28 -0700)]
Merge pull request from danielpza/add-update-custom-package

GitHub-reference: https://github.com/jwiegley/use-package/issues/930

2 years agoMerge pull request from tarsiiformes/silencio
John Wiegley [Sun, 7 Aug 2022 15:27:29 +0000 (08:27 -0700)]
Merge pull request from tarsiiformes/silencio

GitHub-reference: https://github.com/jwiegley/use-package/issues/936

2 years agoMerge pull request from DamienCassou/update-texi
John Wiegley [Sun, 7 Aug 2022 15:21:40 +0000 (08:21 -0700)]
Merge pull request from DamienCassou/update-texi

GitHub-reference: https://github.com/jwiegley/use-package/issues/979

2 years agoMerge pull request from skangas/fix-typo
John Wiegley [Sun, 7 Aug 2022 15:19:55 +0000 (08:19 -0700)]
Merge pull request from skangas/fix-typo

GitHub-reference: https://github.com/jwiegley/use-package/issues/987

2 years agoAdd: 'local' keyword
Matthias Schmitt [Sat, 14 Sep 2019 21:25:21 +0000 (23:25 +0200)]
Add: 'local' keyword

2 years agoAvoid positional arguments to define-minor-mode
Jonas Bernoulli [Tue, 18 May 2021 13:44:34 +0000 (15:44 +0200)]
Avoid positional arguments to define-minor-mode

Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to
replace its old positional arguments.  Starting with Emacs-28.1
a warning will be omitted if positional arguments are still used.

2 years agoFix typo in use-package docstring
Stefan Kangas [Sun, 26 Jun 2022 14:14:14 +0000 (16:14 +0200)]
Fix typo in use-package docstring

2 years agoUpdate use-package.texi
Damien Cassou [Mon, 4 Apr 2022 19:10:44 +0000 (21:10 +0200)]
Update use-package.texi

2 years agooptimization: constand folding for read-kbd-macro
Wang Chunye [Fri, 20 Mar 2020 13:25:35 +0000 (06:25 -0700)]
optimization: constand folding for read-kbd-macro

to boost startup performance, it is better to avoid invoking
`read-kbd-macro` at run time which requires 'cl-lib.

it takes ~20ms to load cl-lib

Copyright-paperwork-exempt: yes

2 years agobind-keys-form: error for repeat sub-keywords without :repeat-map
Hugo Heagren [Fri, 28 Jan 2022 22:26:41 +0000 (22:26 +0000)]
bind-keys-form: error for repeat sub-keywords without :repeat-map

Error descriptively if :continue or :exit is specified without
:repeat-map.

2 years agobind-key-form: allow :continue keyword inside repeat map
Hugo Heagren [Thu, 20 Jan 2022 10:59:37 +0000 (10:59 +0000)]
bind-key-form: allow :continue keyword inside repeat map

Purely syntactic sugar, using :continue is the same as not using any
keyword inside :repeat-map at all.

Amend end of function to pass repeat-map value onto next invocation in
recursive uses. This allows for the same repeat map to be used for
:exit and :continue.

2 years agobind-key-form: allow :exit keyword inside repeat map
Hugo Heagren [Mon, 17 Jan 2022 15:41:35 +0000 (15:41 +0000)]
bind-key-form: allow :exit keyword inside repeat map

Keys bound inside the scope of :exit are bound inside the repeat map,
but do not have their repeat-map property set (so they run a function,
but 'exit' the map).

2 years agobind-keys-form: new keyword :repeat-map, for defining repeat maps
Hugo Heagren [Sun, 16 Jan 2022 00:21:36 +0000 (00:21 +0000)]
bind-keys-form: new keyword :repeat-map, for defining repeat maps

use-package-normalize/:bind: allow keyword :repeat-map.

bind-keys-form: Add keyword :repeat-map. Specifying a symbol as the
repeat-map defines a keymap with that name (and with the docstring
`repeat-doc', if specified). Symbols for functions bound to keys under
the scope of :repeat-map have their 'repeat-map property set to this
map. Update docstring (and that of `bind-keys') to reflect changes.

Rename `doc' to `prefix-doc' for clarity and consistency with
'repeat-doc'.

3 years agofeat: add update custom packages command
Daniel Perez Alvarez [Sat, 17 Apr 2021 21:08:35 +0000 (17:08 -0400)]
feat: add update custom packages command

Copyright-paperwork-exempt: yes

3 years agoProperly sort use-package-statistics-report
Jimmy Yuen Ho Wong [Sat, 13 Mar 2021 16:29:27 +0000 (16:29 +0000)]
Properly sort use-package-statistics-report

3 years agoFix void-variable use-package-enable-imenu-support
Jimmy Yuen Ho Wong [Sun, 7 Mar 2021 23:29:19 +0000 (23:29 +0000)]
Fix void-variable use-package-enable-imenu-support

3 years agoRemove uses of deprecated ‘flet’ macro
Philipp Stephani [Sun, 21 Jun 2020 17:48:03 +0000 (19:48 +0200)]
Remove uses of deprecated ‘flet’ macro

Instead, use the non-deprecated ‘cl-flet’ and ‘cl-letf’ macros from the
‘cl-lib’ package.

This also allows us to remove the ‘plist-delete’ helper function, which was
only used to effectively un-deprecate ‘flet’.

3 years agofix docstring. was: invalid function name
Yurii Kholodkov [Tue, 16 Feb 2021 13:37:58 +0000 (16:37 +0300)]
fix docstring. was: invalid function name

Copyright-paperwork-exempt: yes

3 years agoMerge pull request from minad/improved-unbind
John Wiegley [Wed, 10 Feb 2021 16:09:23 +0000 (08:09 -0800)]
Merge pull request from minad/improved-unbind

GitHub-reference: https://github.com/jwiegley/use-package/issues/910

3 years agounbind-key: Ensure that keys are removed from the keymap
Daniel Mendler [Wed, 10 Feb 2021 13:13:36 +0000 (14:13 +0100)]
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

3 years agobind-key: Use new symbols for kmapvar
Daniel Mendler [Wed, 10 Feb 2021 13:01:59 +0000 (14:01 +0100)]
bind-key: Use new symbols for kmapvar

3 years agoMerge pull request from tzz/tzz/use-package-use-theme
John Wiegley [Sun, 7 Feb 2021 19:26:37 +0000 (11:26 -0800)]
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

3 years agoAdd use-package-use-theme and avoid missing theme errors
Ted Zlatanov [Sat, 6 Feb 2021 10:16:10 +0000 (10:16 +0000)]
Add use-package-use-theme and avoid missing theme errors

3 years agoMerge pull request from kljohann/custom-use-single-let
Ted Zlatanov [Sat, 6 Feb 2021 09:21:59 +0000 (04:21 -0500)]
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

3 years agoUse a single let binding when expanding consecutive :custom forms
Johann Klähn [Wed, 3 Feb 2021 21:55:17 +0000 (22:55 +0100)]
Use a single let binding when expanding consecutive :custom forms

Copyright-paperwork-exempt: yes

3 years agoMerge pull request from tzz/tzz/remove-use-package-from-custom-enabled-themes
John Wiegley [Mon, 1 Feb 2021 17:39:33 +0000 (09:39 -0800)]
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

3 years agoRemove use-package theme from global list of custom-enabled-themes
Ted Zlatanov [Sat, 9 Jan 2021 13:57:40 +0000 (13:57 +0000)]
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.

3 years agoMerge pull request from tzz/tzz/set-comment-and-synthetic-theme
John Wiegley [Wed, 6 Jan 2021 21:45:39 +0000 (13:45 -0800)]
Merge pull request from tzz/tzz/set-comment-and-synthetic-theme

GitHub-reference: https://github.com/jwiegley/use-package/issues/881

3 years agoCreate new "use-package" themse and use it for :custom with custom-theme-set-variables
Ted Zlatanov [Sun, 29 Nov 2020 12:23:02 +0000 (12:23 +0000)]
Create new "use-package" themse and use it for :custom with custom-theme-set-variables

3 years agoset property theme-value to avoid saving variable
Ted Zlatanov [Sun, 8 Nov 2020 14:59:58 +0000 (14:59 +0000)]
set property theme-value to avoid saving variable

3 years agoRevert "use-package-core.el: use the Emacs set-default function to avoid saving ...
Ted Zlatanov [Sun, 8 Nov 2020 14:58:08 +0000 (14:58 +0000)]
Revert "use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice"

This reverts commit 8c31c57106e2938d627bf4107627c003620d2dd5.

3 years agoset saved-variable-comment from :custom
Ted Zlatanov [Sat, 22 Aug 2020 22:42:36 +0000 (18:42 -0400)]
set saved-variable-comment from :custom

GitHub-reference: https://github.com/jwiegley/use-package/issues/861

3 years agoUpdate version to 2.4.1
John Wiegley [Tue, 10 Nov 2020 21:33:45 +0000 (13:33 -0800)]
Update version to 2.4.1

4 years agoadd multiple and eval :custom-face usage
Naoya Yamashita [Fri, 21 Aug 2020 06:15:34 +0000 (15:15 +0900)]
add multiple and eval :custom-face usage

This commit follows suggestion at https://github.com/jwiegley/use-package/issues/696, https://github.com/jwiegley/use-package/issues/821

4 years agoRemove use-package-font-lock-keywords
Kaleb Elwert [Tue, 11 Aug 2020 08:44:31 +0000 (01:44 -0700)]
Remove use-package-font-lock-keywords

Copyright-paperwork-exempt: yes

4 years agoMerge pull request from wyuenho/patch-1
John Wiegley [Wed, 5 Aug 2020 17:27:15 +0000 (10:27 -0700)]
Merge pull request from wyuenho/patch-1

GitHub-reference: https://github.com/jwiegley/use-package/issues/846

4 years agoMigrate remaining files to lexical binding
Philipp Stephani [Sun, 21 Jun 2020 17:46:12 +0000 (19:46 +0200)]
Migrate remaining files to lexical binding

4 years agoMerge branch 'master' into patch-1
Jimmy Yuen Ho Wong [Wed, 22 Jul 2020 01:05:31 +0000 (02:05 +0100)]
Merge branch 'master' into patch-1

4 years agoMerge pull request from tzz/custom-set-default
John Wiegley [Tue, 21 Jul 2020 21:56:27 +0000 (14:56 -0700)]
Merge pull request from tzz/custom-set-default

GitHub-reference: https://github.com/jwiegley/use-package/issues/855

4 years agoUpdate the documentation for :custom as per
Ted Zlatanov [Sun, 12 Jul 2020 20:09:10 +0000 (16:09 -0400)]
Update the documentation for :custom as per

GitHub-reference: https://github.com/jwiegley/use-package/issues/850

4 years agoFix broken test due to
Jimmy Yuen Ho Wong [Wed, 8 Jul 2020 03:57:39 +0000 (04:57 +0100)]
Fix broken test due to

GitHub-reference: https://github.com/jwiegley/use-package/issues/850

4 years agobetter tests
Jimmy Yuen Ho Wong [Tue, 7 Jul 2020 13:17:00 +0000 (14:17 +0100)]
better tests

4 years agoadd test for
Jimmy Yuen Ho Wong [Fri, 26 Jun 2020 01:22:46 +0000 (02:22 +0100)]
add test for

GitHub-reference: https://github.com/jwiegley/use-package/issues/845

4 years agoSupport keymap symbol in bind-key
Jimmy Yuen Ho Wong [Tue, 9 Jun 2020 04:26:09 +0000 (05:26 +0100)]
Support keymap symbol in bind-key

GitHub-reference: fix https://github.com/jwiegley/use-package/issues/845

4 years agoMerge pull request from tzz/custom-set-default
John Wiegley [Mon, 29 Jun 2020 18:56:42 +0000 (11:56 -0700)]
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

4 years agouse-package-core.el: use the Emacs set-default function to avoid saving :custom vars...
Ted Zlatanov [Mon, 22 Jun 2020 18:17:21 +0000 (14:17 -0400)]
use-package-core.el: use the Emacs set-default function to avoid saving :custom vars twice

4 years agoMerge pull request from jjlee/call-hooks-even-if-no-config
John Wiegley [Thu, 18 Jun 2020 18:04:04 +0000 (11:04 -0700)]
Merge pull request from jjlee/call-hooks-even-if-no-config

GitHub-reference: https://github.com/jwiegley/use-package/issues/840

4 years agoMerge branch 'master' into call-hooks-even-if-no-config
John Wiegley [Thu, 18 Jun 2020 18:03:35 +0000 (11:03 -0700)]
Merge branch 'master' into call-hooks-even-if-no-config

4 years agoMerge pull request from nahuel/patch-1
John Wiegley [Wed, 20 May 2020 23:05:37 +0000 (16:05 -0700)]
Merge pull request from nahuel/patch-1

GitHub-reference: https://github.com/jwiegley/use-package/issues/843

4 years agotypo, should be a vector, not a bytecode object
Nahuel Greco [Wed, 20 May 2020 16:44:47 +0000 (13:44 -0300)]
typo, should be a vector, not a bytecode object

Solves https://github.com/jwiegley/use-package/issues/842

4 years agoAdd special value back again, in case needed for backwards compat
John Lee [Sat, 9 May 2020 22:35:15 +0000 (23:35 +0100)]
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

4 years agoEven when there's no :config, run any pre/post config hooks
John Lee [Sat, 9 May 2020 18:01:01 +0000 (19:01 +0100)]
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

4 years agoMerge pull request from jwiegley/johnw/clarify
John Wiegley [Sun, 22 Mar 2020 21:10:31 +0000 (14:10 -0700)]
Merge pull request from jwiegley/johnw/clarify

Clarify the documentation for :after
GitHub-reference: https://github.com/jwiegley/use-package/issues/820

4 years agoClarify the documentation for :after
John Wiegley [Thu, 5 Mar 2020 00:29:16 +0000 (16:29 -0800)]
Clarify the documentation for :after

4 years agoMerge pull request from DamienCassou/typos
John Wiegley [Tue, 26 Nov 2019 20:34:57 +0000 (13:34 -0700)]
Merge pull request from DamienCassou/typos

Fix typos
GitHub-reference: https://github.com/jwiegley/use-package/issues/808

4 years agoFix typos
Damien Cassou [Tue, 26 Nov 2019 20:28:51 +0000 (21:28 +0100)]
Fix typos

Typos found with codespell.

4 years agoMerge pull request from tarsiiformes/typos
John Wiegley [Sun, 10 Nov 2019 04:16:21 +0000 (20:16 -0800)]
Merge pull request from tarsiiformes/typos

Fix typos
GitHub-reference: https://github.com/jwiegley/use-package/issues/804

4 years agoFix typos
Jonas Bernoulli [Wed, 6 Nov 2019 12:49:46 +0000 (13:49 +0100)]
Fix typos

5 years agoUse `require', not `load', when byte-compiling ()
John Wiegley [Tue, 16 Jul 2019 18:29:12 +0000 (11:29 -0700)]
Use `require', not `load', when byte-compiling ()

Use `require', not `load', when byte-compiling
GitHub-reference: https://github.com/jwiegley/use-package/issues/783

5 years agoUpdate tests
Radon Rosborough [Tue, 16 Jul 2019 05:20:18 +0000 (22:20 -0700)]
Update tests

5 years agoSwitch from `require' to `load' + `featurep'
Radon Rosborough [Tue, 16 Jul 2019 05:11:13 +0000 (22:11 -0700)]
Switch from `require' to `load' + `featurep'

5 years agoUse `require', not `load', when byte-compiling
Radon Rosborough [Fri, 12 Jul 2019 15:25:21 +0000 (08:25 -0700)]
Use `require', not `load', when byte-compiling

5 years agoupdate bind-chords to use of eval-after-load when maps declared
Justin Talbott [Thu, 20 Jun 2019 15:27:46 +0000 (11:27 -0400)]
update bind-chords to use of eval-after-load when maps declared

also improve :chord keyword syntax processing to more closely mimic bind-keys since the same binding
normalizer is used.

also add tests for use-package-chords to cover these test cases

5 years agorename function
Justin Talbott [Sat, 15 Jun 2019 00:00:16 +0000 (20:00 -0400)]
rename function

5 years agoextract use-package-hook-handler-flatten-mode-symbols function
Justin Talbott [Fri, 14 Jun 2019 23:48:25 +0000 (19:48 -0400)]
extract use-package-hook-handler-flatten-mode-symbols function

5 years agouse `use-package-as-one` for normalizing `:ensure-system-package`
Justin Talbott [Sun, 10 Feb 2019 01:52:50 +0000 (20:52 -0500)]
use `use-package-as-one` for normalizing `:ensure-system-package`

This makes the preferred syntax consistent with other `use-package`
keywords. All of these are now valid:

```
(use-package format-all
  :ensure-system-package
  (prettier . "npm i -g prettier")
  (rufo . "gem install rufo"))

(use-package format-all
  :ensure-system-package
  ((prettier . "npm i -g prettier")
   (rufo . "gem install rufo")))

(use-package format-all
  :ensure-system-package
  (prettier . "npm i -g prettier"))
```

5 years agoMake custom-face evaluate elisp. ()
John Wiegley [Wed, 29 May 2019 20:40:03 +0000 (13:40 -0700)]
Make custom-face evaluate elisp. ()

Make custom-face evaluate elisp.
GitHub-reference: https://github.com/jwiegley/use-package/issues/773

5 years agoMake custom-face evaluate elisp
Vincent Zhang [Wed, 29 May 2019 08:04:35 +0000 (16:04 +0800)]
Make custom-face evaluate elisp

Fix https://github.com/jwiegley/use-package/issues/696.

Copyright-paperwork-exempt: yes

5 years ago* use-package-core.el (use-package): fix declare style
Naoya Yamashita [Sun, 14 Apr 2019 10:30:42 +0000 (19:30 +0900)]
* use-package-core.el (use-package): fix declare style

use-package specified lisp-indent-function to indent like defun.

Currently, use-package main macro specify indent as (declare (indent 1)),
then change indent mode like defun.

(declare (indent defun)) is same effect.
And it is useful when redefining use-package.

5 years agoMerge pull request from stribb/master
John Wiegley [Fri, 5 Apr 2019 20:47:24 +0000 (13:47 -0700)]
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

5 years agoAdd a line of documentation for (use-pacakage ... :hook)
Andrew Stribblehill [Thu, 4 Apr 2019 09:19:52 +0000 (11:19 +0200)]
Add a line of documentation for (use-pacakage ... :hook)

Copyright-paperwork-exempt: yes

5 years agoMerge pull request from conao3/fix_default_value
John Wiegley [Mon, 19 Nov 2018 23:50:27 +0000 (15:50 -0800)]
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

5 years agoMerge pull request from tarsiiformes/silencio
John Wiegley [Sat, 10 Nov 2018 17:58:42 +0000 (09:58 -0800)]
Merge pull request from tarsiiformes/silencio

Silence byte-compiler on Emacs 25
GitHub-reference: https://github.com/jwiegley/use-package/issues/733

5 years agoSilence byte-compiler on Emacs 25
Jonas Bernoulli [Sat, 10 Nov 2018 17:52:37 +0000 (18:52 +0100)]
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.

5 years agoMerge pull request from jwiegley/use-package-chords-suppress-compiler-message
John Wiegley [Wed, 24 Oct 2018 23:22:41 +0000 (16:22 -0700)]
Merge pull request from jwiegley/use-package-chords-suppress-compiler-message

prefix argument with _ to suppress Unused lexical argument warning
GitHub-reference: https://github.com/jwiegley/use-package/issues/713

6 years agoMerge pull request from lrochfort/ensure-system-package_use-sudo
Justin Talbott [Thu, 13 Sep 2018 15:01:53 +0000 (11:01 -0400)]
Merge pull request from lrochfort/ensure-system-package_use-sudo

[Fix https://github.com/jwiegley/use-package/issues/720] Install system packages using system-packages-install
GitHub-reference: https://github.com/jwiegley/use-package/issues/721