1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 07:40:39 -08:00

(cl-generic-generalizers): Fix typo in last change

This commit is contained in:
Stefan Monnier 2025-05-06 23:04:46 -04:00
parent 147113b3b5
commit 2eb90d43e6

View file

@ -572,7 +572,7 @@ If ALIST is non-nil, the new pairs are prepended to it."
(if (and (symbolp type) (cl-type-class-p (cl--find-class type))
;; Make sure this derived type can be used without arguments.
(let ((expander (get type 'cl-deftype-handler)))
(and expander (ignore-error (funcall expander)))))
(and expander (ignore-errors (funcall expander)))))
(cl--type-generalizers type)
(cl-call-next-method))))