emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master de9e913f9e2: * lisp/emacs-lisp/cl-macs.el (list): Predefine predi


From: Stefan Monnier
Subject: master de9e913f9e2: * lisp/emacs-lisp/cl-macs.el (list): Predefine predicate by hand
Date: Thu, 28 Mar 2024 12:28:33 -0400 (EDT)

branch: master
commit de9e913f9e2a1e01e5d091a553e98d75404a2246
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/emacs-lisp/cl-macs.el (list): Predefine predicate by hand
---
 lisp/emacs-lisp/cl-macs.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 051cd992fc1..a84ef4a34b2 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -3470,6 +3470,10 @@ Of course, we really can't know that for sure, so it's 
just a heuristic."
                  (keyword      . keywordp)   ;Would need `keyword-with-pos`.
                  (natnum       . natnump)    ;Subtype of fixnum & bignum.
                  (real         . numberp)    ;Not clear where it would fit.
+                 ;; This one is redundant, but we keep it to silence a
+                 ;; warning during the early bootstrap when `cl-seq.el' gets
+                 ;; loaded before `cl-preloaded.el' is defined.
+                 (list         . listp)
                  ))
   (put type 'cl-deftype-satisfies pred))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]