Commit graph

582 commits

Author SHA1 Message Date
Stefan Kangas
fcd0b377e0 Merge from origin/emacs-29
06ef030f93 use-package.texi: New section "Manual installation"
f4ce6fa7d3 Revert "Revert "Improve last change to xfaces.c" (05ece1e...
b8d2ec920f Revert "Improve last change to xfaces.c" (05ece1eb8b)
24c8c28ae6 Do not pare arguments unnecessarily.
9c0d7bb73b Add automated tests for Eglot
d3669cfe15 Eglot: allow skipping compile-time warnings about LSP int...
04b7e01885 ; project.el: Bump version.
f2876014ad Add customizale faces for tree-sitter explorer
3e349ee119 Fix error message when installing non-existent package
733cdeabfb Don't use diff-mode buffer as a patch when it's visiting ...
87475f4af2 Fix pcase rx patterns using rx-let bindings (bug#59814)
4893a15631 Fix use-package-defaults defcustom type (bug#59941)
074b7e6f4d ; * lisp/use-package/bind-key.el: Remove ineffective back...
864ed9dfa1 ; * lisp/progmodes/dockerfile-ts-mode.el: use \' instead ...
9f7e5584a4 * lisp/language/indian.el: Improve Brahmi composition rul...
78ad33bb05 ; Minor cleanup of last change in xfaces.c.
2024ade271 ; Improve docs of relaxing face-font attribute match (bug...
2022-12-12 09:05:53 +01:00
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
Mattias Engdegård
074b7e6f4d ; * lisp/use-package/bind-key.el: Remove ineffective backslashes. 2022-12-11 12:09:42 +01:00
Po Lu
13310643cd Merge from origin/emacs-29
5fbd12ff49 Adapt manual names in emacs-news-mode
b36bc69267 ; * etc/NEWS: Fix typos.
f626b9f385 ; * doc/misc/use-package.texi: Fix indexing.
56a6712bd6 ; * lisp/erc/erc.el (erc-default-target): Fix comment.
dcf69a1da4 Respect some spaces in auth-source-pass--match-regexp
acd462b030 ; Improve the use-package manual
801c1c22de ; Prefer HTTPS to HTTP in some URLs
74a009dd96 Eglot: Handle LSP progress with Emacs progress reporters ...
0cfeb1c2bc Eglot: cleanup whitespace and indentation
465a9e78b9 Better test-custom-opts diagnostics
bdbb709978 ; Fix groff warnings in man pages
d3d9676bf8 New script admin/check-man-pages
c2aea9d132 ; Mention flush-lines in kill-matching-lines docstring
f5c3585e4d ; Fix typos
58a483960d ; Improve use-package-autoload-keymap docstring

# Conflicts:
#	etc/NEWS
2022-12-11 09:34:02 +08:00
Stefan Kangas
f5c3585e4d ; Fix typos 2022-12-09 10:18:00 +01:00
Stefan Kangas
58a483960d ; Improve use-package-autoload-keymap docstring
* lisp/use-package/use-package-bind-key.el
(use-package-autoload-keymap): Improve docstring.
2022-12-09 06:55:48 +01:00
Stefan Kangas
3db9a0d040 Merge from origin/emacs-29
5b640f0abd Improve :delight keyword example in use-package manual
c417fe4df3 ; Refer to the manual in use-package docstring
0b3116971a Clarify :after keyword in use-package docstring
a17a6036dd Add conditional loading examples to use-package manual
2022-12-09 06:30:26 +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
Po Lu
2f0bd8167c Merge from origin/emacs-29
67ef92fb0e Revert "; * src/emacs.c (main): Improvements to last chan...
6ccdda3df2 server-eval-at: Don't call server--file-name
9089577329 ; Improve use-package Commentary sections
15dda8cd5b ; Don't say to require bind-key in use-package manual
2626704054 ; Normalize GPLv3 license statements in new files
2022-12-09 09:31:37 +08: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
da476ae182 Fix namespacing issues in bind-key.el
* lisp/use-package/bind-key.el (get-binding-description)
(compare-keybindings): Rename from this...
(bind-key--get-binding-description)
(bind-key--compare-keybindings): ...to this.
2022-12-08 23:47:44 +01:00
Stefan Kangas
b9fa81514f ; Minor doc fixes in bind-key.el
* lisp/use-package/bind-key.el (bind-key-segregation-regexp)
(bind-key): Minor doc fixes.
2022-12-08 17:14:31 +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
4be96c9dcb Drop key-chord.el support from use-package
* lisp/use-package/bind-chord.el:
* lisp/use-package/use-package-chords.el:
* test/lisp/use-package/use-package-chords-tests.el: Delete files.
* doc/misc/use-package.texi (use-package-chords): Delete section.
Ref: https://lists.gnu.org/r/emacs-devel/2022-12/msg00052.html
2022-12-08 17:00:29 +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
c65e087068 ; use-package: Improve :ensure-system-package docstrings
* lisp/use-package/use-package-ensure-system-package.el
(use-package-ensure-system-package--custom-packages)
(use-package-ensure-system-package-consify)
(use-package-ensure-system-package-update-custom-packages)
(use-package-normalize/:ensure-system-package)
(use-package-ensure-system-package-exists?): Improve docstrings.
2022-12-08 06:28:17 +01:00
Stefan Kangas
888558ec42 Improve bind-keys* and override-global-mode docstrings
* lisp/use-package/bind-key.el (bind-keys*): Add docstring.
(override-global-mode) Improve docstring.
2022-12-08 02:09:40 +01:00
Stefan Kangas
ebbd98edb3 Revert "Add: 'local' keyword"
This reverts commit 620fe443c2.
2022-11-27 10:14:35 +01:00
Stefan Kangas
efae6048dd Add package keyword from finder-known-keywords 2022-11-17 12:15:21 +01:00
Stefan Kangas
06f92d1cc0 Fix Package-Requires for bind-{chord,key}.el 2022-11-17 12:14:57 +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
3e81af80a2 Revert "Allow multiple keymaps in :map argument" 2022-11-15 15:24:12 -08:00
John Wiegley
49fffe7cf4 Merge remote-tracking branch 'origin/master' into pr-830 2022-11-15 09:21:07 -08: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
Stefan Kangas
45e6ee1371 Fix tests on Emacs 26 or older
This fixes the following error in Emacs 25.3:

In toplevel form:
bind-key.el:549:1:Error: the function ‘mapcan’ is not known to be defined.
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
Payas Relekar
2ee9b31ca4 bind-key.el: Bump version for ELPA 2022-10-28 10:37:18 +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
Jacob First
ec96b47664 bind-keys supports passing a list of keymaps as :map argument 2022-09-29 04:01:42 -04:00
Jacob First
daa124e1cc Fix bind-chords docs: :map argument may be a list of keymaps 2022-09-29 02:36:32 -04:00
Codruț Constantin Gușoi
1494f65f61 Fix emacs native compilation warning for bind-key
To reproduce, have emacs built with native compilation and notice the
compilation logs. You can then open the offending file and run `M-x
emacs-lisp-native-compile-and-load` before and after the changes to see
the warning is removed.

```
 ■  Warning (comp): bind-key.el:150:2: Warning: docstring has wrong
usage of unescaped single quotes (use \= or different quoting)
```
2022-09-10 17:16:18 +01: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