emacs-diffs
[Top][All Lists]
Advanced

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

master cb04549204d 2/3: * Generate elisp_type_hierarchy.txt with top lev


From: Andrea Corallo
Subject: master cb04549204d 2/3: * Generate elisp_type_hierarchy.txt with top level types on top of it
Date: Tue, 23 Apr 2024 09:41:16 -0400 (EDT)

branch: master
commit cb04549204d738603400d1fe14de7f5b59cc516f
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * Generate elisp_type_hierarchy.txt with top level types on top of it
    
    * admin/syncdoc-type-hierarchy.el (syncdoc-make-type-table): Prioratize
    to level types.
---
 admin/syncdoc-type-hierarchy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin/syncdoc-type-hierarchy.el b/admin/syncdoc-type-hierarchy.el
index 56f2c30527e..ed827844d0b 100644
--- a/admin/syncdoc-type-hierarchy.el
+++ b/admin/syncdoc-type-hierarchy.el
@@ -97,7 +97,7 @@
             (lambda (x1 x2)
               (< (length (memq (car x2) syncdoc-all-types))
                  (length (memq (car x1) syncdoc-all-types)))))
-      (cl-loop for (type . children) in subtypes
+      (cl-loop for (type . children) in (reverse subtypes)
                do (insert "|" (symbol-name type) " |")
                do (cl-loop with x = 0
                            for child in children



reply via email to

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