diff options
author | Tony Zorman <soliditsallgood@mailbox.org> | 2022-12-29 11:05:04 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2023-05-16 21:22:05 +0200 |
commit | 2ce279680bf9c1964e98e2aa48a03d6675c386fe (patch) | |
tree | 34b07f74bc31c11b63a51b14ce3936d07db20e15 /etc | |
parent | 5ac08768aa04b0a707eb421db78b7c18ec27b55a (diff) | |
download | emacs-2ce279680bf9c1964e98e2aa48a03d6675c386fe.tar.gz |
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)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -327,6 +327,12 @@ instead of: and another_expression): do_something() +** use-package + ++++ +*** New ':vc' keyword. +This keyword enables the user to install packages using 'package-vc'. + * New Modes and Packages in Emacs 30.1 |