emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bca315aa4c4: Fix broken use-package tests


From: Stefan Kangas
Subject: master bca315aa4c4: Fix broken use-package tests
Date: Sun, 1 Sep 2024 05:31:51 -0400 (EDT)

branch: master
commit bca315aa4c44f4dc0feb0324e5e8c2f7b599fec8
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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.
---
 lisp/use-package/use-package-core.el | 12 ++++++------
 1 file 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 @@
   "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
@@ -105,7 +103,9 @@
     :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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]