1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Andrea Corallo
bbb3038ad9 * admin/syncdoc-type-hierarchy.el (syncdoc-make-type-table): Clean-up quote. 2024-05-18 22:18:55 +02:00
Andrea Corallo
cb04549204 * 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.
2024-04-23 15:37:04 +02:00
Andrea Corallo
05008290fb * admin/syncdoc-type-hierarchy.el (org): Add missing require. 2024-04-23 15:35:44 +02:00
Stefan Monnier
c17ecd2dcd 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.
2024-03-10 15:12:00 -04:00
Andrea Corallo
cc2579c10b * 'syncdoc-type-hierarchy.el' update due to recent changes
* admin/syncdoc-type-hierarchy.el (syncdoc-all-types): Update.
2024-03-09 16:19:49 +01:00
Andrea Corallo
415604c7a7 Rename type_hierarchy.* -> elisp_type_hierarchy.*
* doc/lispref/elisp_type_hierarchy.txt: Renamed.
* doc/lispref/elisp_type_hierarchy.jpg: Likewise.
* doc/lispref/Makefile.in (auxfiles)
($(buildinfodir)/elisp_type_hierarchy.txt)
($(buildinfodir)/elisp_type_hierarchy.jpg): Update.
* admin/syncdoc-type-hierarchy.el (syncdoc-update-type-hierarchy0): Likewise.
* Makefile.in (install-info, uninstall): Likewise.
2024-03-06 17:13:38 +01:00
Andrea Corallo
9526bd3cf8 * Update syncdoc to dump all preloaded type hierarchy
* admin/syncdoc-type-hierarchy.el (syncdoc-file)
(syncdoc-emacs-repo-dir): New constants.
(syncdoc-lispref-dir): Make use of.
(syncdoc-all-types): New function.
(comp--direct-supertypes): Declare.
(syncdoc-hierarchy): Update.
(syncdoc-update-type-hierarchy0): Rename from
'syncdoc-update-type-hierarchy' and make non interactive.
(syncdoc-update-type-hierarchy): New function.
2024-03-06 17:13:38 +01:00
Stefan Monnier
418ad866bf cl-preloaded.el: Further fine-tuning
* lisp/emacs-lisp/cl-preloaded.el (cl--direct-supertypes-of-type):
Fix some left over issues:
- Remove redundant `number-or-marker` from `marker`s parents.
- Add `function` to the types, since it was missing.
(cl--typeof-types): Add a warning for missing type info.

* admin/syncdoc-type-hierarchy.el (syncdoc-hierarchy): Fix parent of
`oclosure`.

* doc/lispref/type_hierarchy.txt:
* doc/lispref/type_hierarchy.jpg: Update.
2024-03-04 23:12:29 -05:00
Stefan Monnier
b06916cb21 syncdoc-type-hierarchy.el: Adjust to changes in cl-preloaded.el
* admin/syncdoc-type-hierarchy.el (syncdoc-lispref-dir):
Use `macroexp-file-name`.
(syncdoc-hierarchy): New var.
(syncdoc-insert-dot-content, syncdoc-make-type-table): Use it.
(syncdoc-update-type-hierarchy): Don't crash if `dot` is absent.
2024-03-04 13:24:34 -05:00
Stefan Monnier
167c17c1ad admin/syncdoc-type-hierarchy.el: Move from etc
AFAICT `admin` is where we keep these kinds of files.
2024-03-04 12:02:45 -05:00