* Fix compilation warning in 'cl--supertypes-for-typeof-types'

* lisp/emacs-lisp/cl-preloaded.el (cl--supertypes-for-typeof-types): Fix
warning.
This commit is contained in:
Andrea Corallo 2024-03-01 09:16:38 +01:00
parent f8311e8b44
commit 0567f3b817

View file

@ -99,8 +99,7 @@ the symbols returned by `type-of', and SUPERTYPES is the list of its
supertypes from the most specific to least specific.")
(defun cl--supertypes-for-typeof-types (type)
(cl-loop with res = ()
with agenda = (list type)
(cl-loop with agenda = (list type)
while agenda
for element = (car agenda)
unless (or (eq element t) ;; no t in `cl--typeof-types'.