]> git.eshelyaron.com Git - emacs.git/commit
comp-cstr.el: Fix a minor error and prepare for upcoming changes
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 7 Mar 2024 21:56:42 +0000 (16:56 -0500)
committerEshel Yaron <me@eshelyaron.com>
Mon, 11 Mar 2024 09:15:41 +0000 (10:15 +0100)
commit98722438f7b9dafa81f17d5a7b0fc348b9941821
treece2d9b3cc5f18f2a8e52b686b5e9502fcc7e97fe
parent2736bdb49eb8fa2bc0fd465b4a8164cf33f08298
comp-cstr.el: Fix a minor error and prepare for upcoming changes

* lisp/emacs-lisp/comp-cstr.el (comp--cl-class-hierarchy): Add `atom`
and `t` only to those types whose "allparents" is clearly not complete.
(comp--compute--pred-type-h): Store the cstr rather than the type
in the hash-table, as expected by `comp--pred-to-cstr`.

(cherry picked from commit 9830421e964cfb39077b69efd38d122e3bacf5d4)
lisp/emacs-lisp/comp-cstr.el