emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f4711811298: * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstri


From: Andrea Corallo
Subject: master f4711811298: * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.
Date: Wed, 10 Apr 2024 09:31:00 -0400 (EDT)

branch: master
commit f4711811298b320ea6875e635a7346f3bc23a603
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * lisp/emacs-lisp/cl-macs.el (cl-typep): Add docstring.
---
 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]