]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.
authorAndrea Corallo <acorallo@gnu.org>
Wed, 10 Apr 2024 13:27:46 +0000 (15:27 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 10 Apr 2024 20:30:40 +0000 (22:30 +0200)
(cherry picked from commit f4711811298b320ea6875e635a7346f3bc23a603)

lisp/emacs-lisp/cl-macs.el

index a84ef4a34b237883b460106d785a6f0425e77ab6..1350e474d6aebdd28703d4d2c7f6934e49992855 100644 (file)
@@ -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)))