From 181d8800af574826d542ecd666f192fa5606c03b Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 10 Apr 2024 15:27:46 +0200 Subject: [PATCH] * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring. (cherry picked from commit f4711811298b320ea6875e635a7346f3bc23a603) --- lisp/emacs-lisp/cl-macs.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index a84ef4a34b2..1350e474d6a 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -3479,6 +3479,7 @@ Of course, we really can't know that for sure, so it's just a heuristic." ;;;###autoload (define-inline cl-typep (val type) + "Return t if VAL is of type TYPE, nil otherwise." (inline-letevals (val) (pcase (inline-const-val type) ((and `(,name . ,args) (guard (get name 'cl-deftype-handler))) -- 2.39.5