From: Andrea Corallo Date: Wed, 10 Apr 2024 13:27:46 +0000 (+0200) Subject: * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=181d8800af574826d542ecd666f192fa5606c03b;p=emacs.git * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring. (cherry picked from commit f4711811298b320ea6875e635a7346f3bc23a603) --- 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)))