branch: externals/setup
commit d76895390212919ea36a9cbf58311150e39bf749
Author: Philip K <phil...@posteo.net>
Commit: Philip K <phil...@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