summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2024-02-21 15:45:40 +0100
committerAndrea Corallo <acorallo@gnu.org>2024-02-21 17:42:58 +0100
commit88abbf00af69cf7e5f36e318e6935f7d1500af7f (patch)
treee302a2e3799a6493e8bfd4ded149c6199029408f /lisp/emacs-lisp/comp.el
parentc65a59a9e90524efa23d9151c31dad66a08ccb90 (diff)
downloademacs-88abbf00af69cf7e5f36e318e6935f7d1500af7f.tar.gz
emacs-88abbf00af69cf7e5f36e318e6935f7d1500af7f.tar.bz2
emacs-88abbf00af69cf7e5f36e318e6935f7d1500af7f.zip
; Add two comments on comp-known-predicates cl-deftype-satisfies
* lisp/emacs-lisp/comp.el (comp-known-predicates): Add comment. * lisp/emacs-lisp/cl-macs.el: Likewise.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index a833bf5bfc4..46d2896f2be 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -188,6 +188,9 @@ Useful to hook into pass checkers.")
finally return h)
"Hash table function -> `comp-constraint'.")
+;; Keep it in sync with the `cl-deftype-satisfies' property set in
+;; cl-macs.el. We can't use `cl-deftype-satisfies' directly as the
+;; relation type <-> predicate is not bijective (bug#45576).
(defconst comp-known-predicates
'((arrayp . array)
(atom . atom)