From c1eaba88de5f699482bd29381ccd122ff5734558 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Tue, 23 Apr 2024 15:37:04 +0200 Subject: [PATCH] * 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. (cherry picked from commit cb04549204d738603400d1fe14de7f5b59cc516f) --- 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 -- 2.39.5