aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Corallo2024-03-20 11:49:32 +0100
committerAndrea Corallo2024-03-20 12:01:10 +0100
commite8d2bc75314262d512d367c270c6d43201ef533f (patch)
treeac29e0cd789f144390a4721bc29853bd7eaf97ac
parent0b0c7da8c80a1e4dc328459f3403f358736ae90d (diff)
downloademacs-e8d2bc75314262d512d367c270c6d43201ef533f.tar.gz
emacs-e8d2bc75314262d512d367c270c6d43201ef533f.zip
; * lisp/emacs-lisp/comp-cstr.el (comp--normalize-typeset0): Fix comment.
-rw-r--r--lisp/emacs-lisp/comp-cstr.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el
index 70456a70de1..cbfb9540f03 100644
--- a/lisp/emacs-lisp/comp-cstr.el
+++ b/lisp/emacs-lisp/comp-cstr.el
@@ -288,13 +288,10 @@ Return them as multiple value."
288 (apply #'append 288 (apply #'append
289 (mapcar #'comp--direct-supertypes typeset))) 289 (mapcar #'comp--direct-supertypes typeset)))
290 for subs = (comp--direct-subtypes sup) 290 for subs = (comp--direct-subtypes sup)
291 when (and (length> subs 1) ;;FIXME: Why? 291 when (and (length> subs 1) ;; If there's only one sub do
292 ;; Every subtype of `sup` is a subtype of 292 ;; nothing as we want to
293 ;; some element of `typeset`? 293 ;; return the most specific
294 ;; It's tempting to just check (member x typeset), 294 ;; type.
295 ;; but think of the typeset (marker number),
296 ;; where `sup' is `integer-or-marker' and `sub'
297 ;; is `integer'.
298 (cl-every (lambda (sub) 295 (cl-every (lambda (sub)
299 (cl-some (lambda (type) 296 (cl-some (lambda (type)
300 (comp-subtype-p sub type)) 297 (comp-subtype-p sub type))