]> git.eshelyaron.com Git - emacs.git/commit
Improve cstr typeset normalization
authorAndrea Corallo <acorallo@gnu.org>
Wed, 18 Oct 2023 14:14:45 +0000 (16:14 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Thu, 19 Oct 2023 11:58:46 +0000 (13:58 +0200)
commit3e193edd68b1abd9483267ba09c6e5c0c59e6c23
treedfe475a09525577e908d93308242d048fa3a5194
parent0fd7f785e76c9f2eea1baa40aed6ee327f68a993
Improve cstr typeset normalization

* test/lisp/emacs-lisp/comp-cstr-tests.el
(comp-cstr-typespec-tests-alist): Add four tests.

* lisp/emacs-lisp/comp-cstr.el (comp--sym-lessp)
(comp--direct-supertype, comp--normalize-typeset0): New functions.
(comp-normalize-typeset): Rework to make use of
'comp--normalize-typeset0'.
(comp--direct-subtypes): New function.
lisp/emacs-lisp/comp-cstr.el
test/lisp/emacs-lisp/comp-cstr-tests.el