emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/setup d768953 10/17: Sort macros in alphabetical order


From: Stefan Monnier
Subject: [elpa] externals/setup d768953 10/17: Sort macros in alphabetical order
Date: Sat, 13 Mar 2021 18:15:14 -0500 (EST)

branch: externals/setup
commit d76895390212919ea36a9cbf58311150e39bf749
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Sort macros in alphabetical order
---
 setup.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.el b/setup.el
index 8370fc2..dfd3293 100644
--- a/setup.el
+++ b/setup.el
@@ -79,7 +79,8 @@
   "Return a docstring for `setup'."
   (with-temp-buffer
     (insert (documentation (symbol-function 'setup) 'raw))
-    (dolist (sym (mapcar #'car setup-macros))
+    (dolist (sym (sort (mapcar #'car setup-macros)
+                       #'string-lessp))
       (let ((sig (if (get sym 'setup-signature)
                      (cons sym (get sym 'setup-signature))
                    (list sym))))



reply via email to

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