]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix broken use-package tests
authorStefan Kangas <stefankangas@gmail.com>
Sun, 1 Sep 2024 09:29:36 +0000 (11:29 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:56 +0000 (09:51 +0200)
* 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.

(cherry picked from commit bca315aa4c44f4dc0feb0324e5e8c2f7b599fec8)

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

index 2d37a93a7cf416456435fd2f39ed2ca74fa7da43..cb9e54bd9dae5dae5e58728ae001aa915b4541db 100644 (file)
   "This version of `use-package'.")
 
 (defcustom use-package-keywords
-  '(:disabled
+  '(:pin
+    :ensure
+    :disabled
     :load-path
     :requires
     :defines
     :functions
     :preface
     :if :when :unless
-    :ensure
-    :pin
-    :delight
-    :diminish
     :vc
     :no-require
     :catch
     :load
     ;; This must occur almost last; the only forms which should appear after
     ;; are those that must happen directly after the config forms.
-    :config)
+    :config
+    :diminish
+    :delight)
   "The set of valid keywords, in the order they are processed in.
 The order of this list is *very important*, so it is only
 advisable to insert new keywords, never to delete or reorder