]> git.eshelyaron.com Git - emacs.git/commitdiff
(cl-generic-generalizers): Fix typo in last change
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 7 May 2025 03:04:46 +0000 (23:04 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:53:27 +0000 (10:53 +0200)
(cherry picked from commit 2eb90d43e6e3b8325503d56c7778b9245b930d88)

lisp/emacs-lisp/cl-lib.el

index b566f587dbc29f2d10bcfc48a519b3625294d1b4..708ff15f289218fa1034af0f52ef1f13d574f3c4 100644 (file)
@@ -564,7 +564,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))))