]> git.eshelyaron.com Git - emacs.git/commit
Initial support for union of negated constraints
authorAndrea Corallo <akrl@sdf.org>
Wed, 2 Dec 2020 21:47:00 +0000 (22:47 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sat, 5 Dec 2020 18:01:03 +0000 (19:01 +0100)
commit7c1d90a41df8792f7311f0ec5a33c613f08ac4ae
tree6b5c662061ab7b0f5579eb17db8d64143b0d5cee
parent1fb249f6db1ae87ee3ddd221ab9c8d152951efe7
Initial support for union of negated constraints

* lisp/emacs-lisp/comp-cstr.el (comp-range-negation): New
function.
(comp-cstr-union-homogeneous-no-range): Rename from
`comp-cstr-union-no-range'.
(comp-cstr-union-homogeneous): Rename from `comp-cstr-union'.
(comp-cstr-union-1): New function.
(comp-cstr-union-no-range, comp-cstr-union): Rewrite in function
of `comp-cstr-union-1'.
* test/lisp/emacs-lisp/comp-cstr-tests.el
(comp-cstr-typespec-tests-alist): Add a bunch of tests.
lisp/emacs-lisp/comp-cstr.el
test/lisp/emacs-lisp/comp-cstr-tests.el