branch: externals/taxy
commit a7ffe2191f2fb1c2852dcac40202782155e629bd
Author: Adam Porter <a...@alphapapa.net>
Commit: Adam Porter <a...@alphapapa.net>

    Change: (diredy) Sort taxys
---
 examples/diredy.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/examples/diredy.el b/examples/diredy.el
index c951664..acfb9f5 100644
--- a/examples/diredy.el
+++ b/examples/diredy.el
@@ -87,7 +87,11 @@
                              do (forward-line 1))))
            (filled-taxy (thread-last diredy-taxy
                           taxy-emptied
-                          (taxy-fill lines)))
+                          (taxy-fill lines)
+                          (taxy-mapc* (lambda (taxy)
+                                        (setf (taxy-taxys taxy)
+                                              (cl-sort (taxy-taxys taxy) 
#'string<
+                                                       :key #'taxy-name))))))
            (inhibit-read-only t)
            (taxy-magit-section-indent 2))
       (delete-region (point) (point-max))

Reply via email to