Commit graph

125 commits

Author SHA1 Message Date
Mattias Engdegård
4893a15631 Fix use-package-defaults defcustom type (bug#59941)
* lisp/use-package/use-package-core.el (use-package-defaults):
Enlarge type to allow for keywords such as :ensure and :pin to be
added later, remedying a failure in test-custom-opts.
2022-12-11 16:48:41 +01:00
Stefan Kangas
c417fe4df3 ; Refer to the manual in use-package docstring
* lisp/use-package/use-package-core.el (use-package): Refer to manual.
2022-12-09 05:13:29 +01:00
Stefan Kangas
0b3116971a Clarify :after keyword in use-package docstring
* lisp/use-package/use-package-core.el (use-package): Clarify the
effect of :after in docstring.

Resolves https://github.com/jwiegley/use-package/issues/825
2022-12-09 05:12:33 +01:00
Stefan Kangas
9089577329 ; Improve use-package Commentary sections
* lisp/use-package/bind-key.el:
* lisp/use-package/use-package-bind-key.el:
* lisp/use-package/use-package-core.el:
* lisp/use-package/use-package-ensure-system-package.el:
* lisp/use-package/use-package-ensure.el:
* lisp/use-package/use-package.el: Improve Commentary sections.
2022-12-09 00:32:30 +01:00
Stefan Kangas
2626704054 ; Normalize GPLv3 license statements in new files 2022-12-09 00:13:00 +01:00
Stefan Kangas
15fb115551 Update use-package defgroups
* lisp/use-package/bind-key.el (bind-key):
* lisp/use-package/use-package-core.el (use-package):
* lisp/use-package/use-package-ensure.el (use-package-ensure): Add
:link, :version and :group to defgroups.
2022-12-08 17:11:21 +01:00
Stefan Kangas
5899cac111 Change use-package custom :group to initialization
* lisp/use-package/use-package-core.el (use-package): Move
defgroup to custom :group 'initialization'.
2022-12-08 08:48:24 +01:00
Stefan Kangas
ebbd98edb3 Revert "Add: 'local' keyword"
This reverts commit 620fe443c2.
2022-11-27 10:14:35 +01:00
John Wiegley
e42c8479ec Merge pull request from skangas/dir-locals
GitHub-reference: https://github.com/jwiegley/use-package/issues/1023
2022-11-16 11:29:27 -08:00
Stefan Kangas
30fa366737 Add .dir-locals.el 2022-11-16 18:02:20 +01:00
Stefan Kangas
79c2c3a3ad Delete redundant headers 2022-11-16 08:43:55 +01:00
Stefan Kangas
2399d0d5ce Normalize GPLv3 license statements 2022-11-16 08:43:55 +01:00
John Wiegley
ae301ad36d Merge pull request from skangas/checkdoc
GitHub-reference: https://github.com/jwiegley/use-package/issues/1015
2022-11-14 12:07:34 -08:00
John Wiegley
5dad5ff0fe Merge pull request from skangas/ci
GitHub-reference: https://github.com/jwiegley/use-package/issues/1013
2022-11-14 12:07:06 -08:00
Stefan Kangas
ff30d22909 Various checkdoc fixes 2022-11-14 02:18:43 +01:00
Stefan Kangas
43254ae62f Fix building on Emacs 24.3
This fixes the following error:
use-package-core.el:60:32:Error: Cannot open load file: subr-x
2022-11-13 23:26:44 +01:00
Payas Relekar
7122ac5397 Bump version to 2.4.4 2022-11-05 13:28:24 +05:30
John Wiegley
6b25a41bc6 Merge pull request from andreyorst/face-spec-set-third-argument
GitHub-reference: https://github.com/jwiegley/use-package/issues/1009
2022-10-29 14:57:19 -04:00
Andrey Listopadov
76a5ce5d86 Allow passing the SPEC-TYPE argument via :custom-face
GitHub-reference: https://github.com/jwiegley/use-package/issues/1008
Copyright-paperwork-exempt: yes
2022-10-29 13:26:31 +03:00
Payas Relekar
370890e518 Bump version to 2.4.3 2022-10-28 17:39:16 +05:30
John Wiegley
407b1bf4f0 Merge pull request from andreyorst/face-spec-set
GitHub-reference: https://github.com/jwiegley/use-package/issues/1004
2022-10-27 13:21:13 -04:00
Payas Relekar
abd655c99e Update version to 2.4.2
In preparation for inclusion to GNU ELPA.
2022-10-27 08:52:36 +05:30
Payas Relekar
0fafd98513 Update copyright for submission to ELPA
- Update year to 2022
- Set copyright to Free Software Foundation, Inc.
2022-10-25 20:02:35 +05:30
Andrey Listopadov
6b344a9197 Use face-spec-set instead of custom-set-faces
GitHub-reference: https://github.com/jwiegley/use-package/issues/934
Copyright-paperwork-exempt: yes
2022-10-17 09:18:51 +03:00
John Wiegley
c0338e06cd Merge pull request from conao3/add-commands-keyword
GitHub-reference: https://github.com/jwiegley/use-package/issues/917
2022-10-12 13:43:57 -04:00
John Wiegley
c12deb31fe Merge pull request from CeleritasCelery/master
GitHub-reference: https://github.com/jwiegley/use-package/issues/743
2022-09-09 17:25:57 -07:00
Codruț Constantin Gușoi
3feedce08d 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.
2022-09-09 08:11:07 +01:00
John Wiegley
6c2fdaffd9 Revert "Remove use-package-font-lock-keywords"
This reverts commit 4938167bff.
2022-08-18 22:53:04 -07:00
John Wiegley
09e837dfae Merge pull request from belak/remove-extra-font-lock-keywords
GitHub-reference: https://github.com/jwiegley/use-package/issues/859
2022-08-18 17:27:55 -07:00
Jonas Bernoulli
53c1889342 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)
2022-08-08 23:06:34 +02:00
John Wiegley
0dc78ef4c8 Merge pull request from conao3/fix-declare-style
GitHub-reference: https://github.com/jwiegley/use-package/issues/760
2022-08-07 08:58:26 -07:00
John Wiegley
28e7b96fcf Merge pull request from waymondo/use-package-hook-handler-flatten-mode-symbols
GitHub-reference: https://github.com/jwiegley/use-package/issues/775
2022-08-07 08:57:58 -07:00
John Wiegley
cf3bfecced Merge pull request from matzebond/master
GitHub-reference: https://github.com/jwiegley/use-package/issues/787
2022-08-07 08:56:06 -07:00
John Wiegley
e9b297a9fa Merge pull request from iaeerfung/master
GitHub-reference: https://github.com/jwiegley/use-package/issues/912
2022-08-07 08:40:14 -07:00
John Wiegley
6484e5fdfe Merge pull request from wyuenho/set-default-use-package-enable-imenu-support
GitHub-reference: https://github.com/jwiegley/use-package/issues/920
2022-08-07 08:37:34 -07:00
John Wiegley
a7259411f6 Merge pull request from wyuenho/statistics-sorting
GitHub-reference: https://github.com/jwiegley/use-package/issues/921
2022-08-07 08:37:18 -07:00
Matthias Schmitt
620fe443c2 Add: 'local' keyword 2022-07-11 01:58:46 +02:00
Stefan Kangas
cb85f9c274 Fix typo in use-package docstring 2022-06-26 16:14:14 +02:00
Troy Hinckley
24c50da3b2 Auto detect mode suffix in hook keyword 2021-05-17 15:34:26 -06:00
Jimmy Yuen Ho Wong
f3ff593a84 Properly sort use-package-statistics-report 2021-03-13 16:29:27 +00:00
Jimmy Yuen Ho Wong
c09cb1301b Fix void-variable use-package-enable-imenu-support 2021-03-07 23:29:19 +00:00
Naoya Yamashita
dbfb3484cd add autoload keyword
:autoload is similar to :command but this generate autoload
statement as *no-interactive* function.
2021-02-23 04:10:19 +09:00
Yurii Kholodkov
40d2541331 fix docstring. was: invalid function name
Copyright-paperwork-exempt: yes
2021-02-16 16:37:58 +03:00
Ted Zlatanov
2b9536f242 Add use-package-use-theme and avoid missing theme errors 2021-02-06 10:46:00 +00: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
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
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