1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

use-package: Update list of valid :vc keywords

* lisp/use-package/use-package-core.el: Add ':shell-command'
and ':make' to valid keywords.  (Bug#66567)
This commit is contained in:
Tony Zorman 2023-10-15 16:50:00 +02:00 committed by Eli Zaretskii
parent 82a31e27e6
commit 426176c75e

View File

@ -1670,7 +1670,8 @@ indicating the latest commit) revision."
(_ (ensure-string v))))
(:vc-backend (ensure-symbol v))
(_ (ensure-string v)))))
(pcase-let ((valid-kws '(:url :branch :lisp-dir :main-file :vc-backend :rev))
(pcase-let ((valid-kws '( :url :branch :lisp-dir :main-file :vc-backend :rev
:shell-command :make))
(`(,name . ,opts) arg))
(if (stringp opts) ; (NAME . VERSION-STRING) ?
(list name opts)