]> git.eshelyaron.com Git - emacs.git/commit
(cl-deftype): Silence spurious warnings in `xcb-types.el`
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 4 Jun 2025 23:27:08 +0000 (19:27 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 20:00:49 +0000 (22:00 +0200)
commitfa4aa20f011b19d03874afc4a4aaca5ddda155c9
tree3249c9cc9473a723632475ff72bf1cad0eb655b7
parentecdfdb447f73815d8269f61d4fa50ec207d9195e
(cl-deftype): Silence spurious warnings in `xcb-types.el`

* lisp/emacs-lisp/cl-macs.el (cl-deftype): Don't warn if the predicate
doesn't use its argument, e.g. when the type is equivalent to `t`.

(cherry picked from commit 1903b0062b1688241d1485b3e460264e124ba757)
lisp/emacs-lisp/cl-macs.el