]> git.eshelyaron.com Git - emacs.git/commit
Add two missing 'number-or-marker' entries to the cl machinery (bug#66615)
authorAndrea Corallo <acorallo@gnu.org>
Wed, 18 Oct 2023 14:10:08 +0000 (16:10 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Thu, 19 Oct 2023 11:59:57 +0000 (13:59 +0200)
commita567faf4c2bc497e50ce3c6ace32c1333cf3b706
treee609039fdf8ff366a85871991980ed6e95c60d72
parent3e193edd68b1abd9483267ba09c6e5c0c59e6c23
Add two missing 'number-or-marker' entries to the cl machinery (bug#66615)

Assuming 'number-or-marker' is a type (as present multiple times in
cl--typeof-types) adding some missing entries for coherency.

* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add
'number-or-marker' as supertype of 'number' in the 'float' branch.

* lisp/emacs-lisp/cl-macs.el (cl-deftype-satisfies): Add
'number-or-marker'.

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

* test/src/comp-tests.el (comp-tests-type-spec-tests): Update two testes.
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-preloaded.el
test/lisp/emacs-lisp/comp-cstr-tests.el
test/src/comp-tests.el