diff options
author | Andrea Corallo <acorallo@gnu.org> | 2024-03-01 09:16:38 +0100 |
---|---|---|
committer | Andrea Corallo <acorallo@gnu.org> | 2024-03-01 09:16:38 +0100 |
commit | 0567f3b817ba25c8e216347cc7118fa7786039d9 (patch) | |
tree | 22329991d2583867bd9bc873bacac8551aac7a29 /lisp/emacs-lisp | |
parent | f8311e8b4491b5658b9d5d1bebad29478c7b95b7 (diff) | |
download | emacs-0567f3b817ba25c8e216347cc7118fa7786039d9.tar.gz emacs-0567f3b817ba25c8e216347cc7118fa7786039d9.tar.bz2 emacs-0567f3b817ba25c8e216347cc7118fa7786039d9.zip |
* Fix compilation warning in 'cl--supertypes-for-typeof-types'
* lisp/emacs-lisp/cl-preloaded.el (cl--supertypes-for-typeof-types): Fix
warning.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-preloaded.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el index fb06b127676..30753bcd5c5 100644 --- a/lisp/emacs-lisp/cl-preloaded.el +++ b/lisp/emacs-lisp/cl-preloaded.el @@ -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'. |