]> git.eshelyaron.com Git - emacs.git/commitdiff
use-package: Update list of valid :vc keywords
authorTony Zorman <soliditsallgood@mailbox.org>
Sun, 15 Oct 2023 14:50:00 +0000 (16:50 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:55:52 +0000 (20:55 +0200)
* lisp/use-package/use-package-core.el: Add ':shell-command'
and ':make' to valid keywords.  (Bug#66567)

(cherry picked from commit 426176c75e5337762b185818942c439a93e3d9ef)

lisp/use-package/use-package-core.el

index ba2e93c97e91c82a2c7574a457cff0a256cfcb57..65640054c40401a82a1446690ca1aaa730d59167 100644 (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)