]> git.eshelyaron.com Git - emacs.git/commit
syncdoc-type-hierarchy.el: Sort and remove `comp` dependency
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 10 Mar 2024 19:12:00 +0000 (15:12 -0400)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Mar 2024 09:27:12 +0000 (10:27 +0100)
commit66f5783c1c88ef03865d34480451681d25efa6c0
tree6f097f0b7d3428d5dd87d49b443846c0d24ac153
parent38994307e486d7012f4c63638b029deb6e33557b
syncdoc-type-hierarchy.el: Sort and remove `comp` dependency

* admin/syncdoc-type-hierarchy.el: Delay loading `org-table` so as
not to "pollute" the table with Org-specific types.
(syncdoc-all-types): Sort the types topologically from the root.
(syncdoc-hierarchy): Use `cl--class-parents` instead if
`comp--direct-supertypes` so we don't depend on `comp-cstr`.
(syncdoc-make-type-table): Sort the table so supertypes always come before
their subtypes.
(syncdoc-make-type-table): Require `org-table` here.

* doc/lispref/elisp_type_hierarchy.jpg:
* doc/lispref/elisp_type_hierarchy.txt: Refresh.

(cherry picked from commit c17ecd2dcd27b73d673df51ce66f4b188afff6db)
admin/syncdoc-type-hierarchy.el
doc/lispref/elisp_type_hierarchy.jpg
doc/lispref/elisp_type_hierarchy.txt