aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2024-09-01 11:29:36 +0200
committerStefan Kangas2024-09-01 11:30:48 +0200
commitbca315aa4c44f4dc0feb0324e5e8c2f7b599fec8 (patch)
tree70f106f0468bee9571083bb127f9de77e3c5a2d7
parent59e0b82776ade72680e7c369f6089eab4a74dc4a (diff)
downloademacs-bca315aa4c44f4dc0feb0324e5e8c2f7b599fec8.tar.gz
emacs-bca315aa4c44f4dc0feb0324e5e8c2f7b599fec8.zip
Fix broken use-package tests
* lisp/use-package/use-package-core.el (use-package-keywords): Change keyword order to match the one before adding :pin, :ensure, :delight, and :diminish directly to this list. This fixes some broken unit tests.
-rw-r--r--lisp/use-package/use-package-core.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index 4df7fee3bdd..85091b8338b 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -69,17 +69,15 @@
69 "This version of `use-package'.") 69 "This version of `use-package'.")
70 70
71(defcustom use-package-keywords 71(defcustom use-package-keywords
72 '(:disabled 72 '(:pin
73 :ensure
74 :disabled
73 :load-path 75 :load-path
74 :requires 76 :requires
75 :defines 77 :defines
76 :functions 78 :functions
77 :preface 79 :preface
78 :if :when :unless 80 :if :when :unless
79 :ensure
80 :pin
81 :delight
82 :diminish
83 :vc 81 :vc
84 :no-require 82 :no-require
85 :catch 83 :catch
@@ -105,7 +103,9 @@
105 :load 103 :load
106 ;; This must occur almost last; the only forms which should appear after 104 ;; This must occur almost last; the only forms which should appear after
107 ;; are those that must happen directly after the config forms. 105 ;; are those that must happen directly after the config forms.
108 :config) 106 :config
107 :diminish
108 :delight)
109 "The set of valid keywords, in the order they are processed in. 109 "The set of valid keywords, in the order they are processed in.
110The order of this list is *very important*, so it is only 110The order of this list is *very important*, so it is only
111advisable to insert new keywords, never to delete or reorder 111advisable to insert new keywords, never to delete or reorder