]> git.eshelyaron.com Git - emacs.git/commit
* Constrain only mvars that are actually used
authorAndrea Corallo <akrl@sdf.org>
Thu, 24 Dec 2020 08:14:28 +0000 (09:14 +0100)
committerAndrea Corallo <akrl@sdf.org>
Thu, 24 Dec 2020 14:40:50 +0000 (15:40 +0100)
commit2327a983193bd043714274e78ec597592dceab80
tree01fa7d7fc66d79d8744fcd1be387432581b5765a
parent2a6c6bf3242847de5d6a25acbfa2a946617df291
* Constrain only mvars that are actually used

* lisp/emacs-lisp/comp.el (comp-mvar-used-p, comp-collect-mvars)
(comp-collect-rhs): New functions.
(comp-add-cond-cstrs-simple, comp-add-cond-cstrs): Update logic.
(comp-add-cstrs): Call `comp-collect-rhs' before doing anything
else.
lisp/emacs-lisp/comp.el