Stefan Kangas
820deac94b
; Add missing GNU ELPA :core package statements
...
* lisp/bind-key.el:
* lisp/emacs-lisp/map.el:
* lisp/erc/erc.el:
* lisp/external-completion.el:
* lisp/net/ntlm.el:
* lisp/net/soap-client.el:
* lisp/progmodes/python.el:
* lisp/svg.el:
* lisp/use-package/use-package.el: Add GNU ELPA :core package
statements.
2023-10-01 00:09:05 +02:00
Stefan Kangas
947409d408
Move bind-key.el from lisp/use-package directory
...
* lisp/use-package/bind-key.el: Move file from here...
* lisp/bind-key.el: ...to here. (Bug#62751)
2023-09-24 22:21:42 +02:00
Stefan Kangas
a4171e9466
Stop use-package-report
from displaying an empty buffer
...
* lisp/use-package/use-package-core.el (use-package-report): Signal
user-error if there are no statistics to display, instead of showing
an empty buffer.
2023-08-12 12:43:19 +02:00
Eli Zaretskii
dde3b9350e
Merge from origin/emacs-29
...
0f183770c5
Fix byte-compiled files that use 'bind-key' from use-package
acfcf7f369
Fix "Paste from Kill Menu" in non X toolkit builds
04996b2124
Handle tabs in the SQL shown in the column listing
573fcf2712
Add new keyword to 'typescript-ts-mode'
db7d70d3ca
; Add commentary to 'describe-function's completion
2023-08-04 03:17:51 -04:00
Eli Zaretskii
0f183770c5
Fix byte-compiled files that use 'bind-key' from use-package
...
* lisp/use-package/bind-key.el (bind-key): Ensure 'bind-key' is
loaded at run time. Patch by John Wiegley <johnw@gnu.org>.
(Bug#64901)
2023-08-04 09:41:30 +03:00
Stefan Kangas
0bcea805e6
Make use-package-statistics-mode non-interactive
...
* lisp/use-package/use-package-core.el
(use-package-statistics-mode): Make non-interactive; it only works in
buffers prepared by use-package-report.
2023-08-02 21:50:47 +02:00
Stefan Kangas
0724569c2e
use-package: Mark Emacs 25 support code obsolete
...
* lisp/use-package/use-package-core.el
(use-package-font-lock-keywords): Make obsolete.
(font-lock-add-keywords): Only call for Emacs 25 or older.
2023-08-02 21:42:54 +02:00
Steven Allen
8d6dd1682e
Fix use-package :vc keyword when byte-compiled
...
* lisp/use-package/use-package-core.el (use-package-handler/:vc):
Return the new 'body'. Otherwise, the entire package declaration gets
dropped when byte-compiling.
* test/lisp/use-package/use-package-tests.el
(use-package-test-handler/:vc-6): test it.
2023-06-03 10:27:46 +03:00
Tony Zorman
2ce279680b
Add :vc keyword to use-package for VC package support
...
* lisp/use-package/use-package-core.el (use-package-keywords): Add :vc.
(use-package-handler/:load-path): Insert 'load-path' into 'state'.
(use-package-vc-install): Install the package with package-vc.el.
(use-package-handler/:vc): Handler for the :vc keyword.
(use-package-normalize--vc-arg): Normalization for more complex
arguments to 'use-package-normalize/:vc', in order to make them
compatible with the specification of 'package-vc-selected-packages'.
(use-package-normalize/:vc): Normalizer for the :vc keyword.
(use-package): Document :vc.
* lisp/use-package/use-package-ensure.el (use-package-handler/:ensure):
Do not ensure a package when :vc is used in the declaration.
* test/lisp/use-package/use-package-tests.el (use-package-test/:vc-1):
(use-package-test/:vc-2):
(use-package-test/:vc-3):
(use-package-test/:vc-4):
(use-package-test/:vc-5):
(use-package-test-normalize/:vc):
Add tests for :vc.
* etc/NEWS: Mention change. (Bug#60418)
2023-05-16 21:22:05 +02:00
Stefan Kangas
bb383a5491
Merge from origin/emacs-29
...
e8c77d9abd
Fix hfy-exclude-file-rules (bug#60562)
c1d32d9a20
CC Mode: Prevent ids in temporary "declarators" getting i...
140824dc09
; Fix more quoting in w32fns.c.
f367ba3ed0
; Avoid byte-compiler warning in eglot.el
1b458aced7
; * lisp/progmodes/eglot.el: Remove stray space.
7c8eac8fbc
; * src/w32fns.c: Fix quoting. Patch by Arash Esbati <ar...
67df34c143
Fix M-x eglot prompt when connection already exists (bug#...
3d1e74c82a
Fix tree-sitter indent preset function (bug#60270)
352e41016b
ruby-ts-mode: Support the option ruby-block-indent
44c9cb8653
Improve indentation for jsx
82ae9caadd
* lisp/subr.el (while-let): Fix docs if-let->if-let* (bug...
f16bd1ead4
Revert "* lisp/subr.el (while-let): Use if-let, not if-le...
c8d5480972
Bump use-package version for Emacs 29.1
2023-01-17 06:30:08 +01:00
Stefan Kangas
c8d5480972
Bump use-package version for Emacs 29.1
...
* lisp/use-package/use-package.el: Bump version to 2.4.5.
2023-01-15 14:33:05 +01:00
Eli Zaretskii
3c55fbd4ad
Merge from origin/emacs-29
...
cae528457c
; Add 2023 to copyright years.
b394359261
Improve documentation of 'isearch-open-overlay-temporary'
ab3210e709
Document 'use-package' in the 2 main manuals
# Conflicts:
# etc/refcards/ru-refcard.tex
# lib/explicit_bzero.c
# m4/explicit_bzero.m4
2023-01-01 05:47:47 -05:00
Eli Zaretskii
cae528457c
; Add 2023 to copyright years.
2023-01-01 05:31:12 -05:00
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