emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/transient ec2de622d2 171/366: transient-suffix-object:


From: Jonas Bernoulli
Subject: [elpa] externals/transient ec2de622d2 171/366: transient-suffix-object: Check type of argument
Date: Tue, 25 Jan 2022 18:54:38 -0500 (EST)

branch: externals/transient
commit ec2de622d277f9c4c1e3f0ef84a82ddb7eb1be0b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    transient-suffix-object: Check type of argument
---
 lisp/transient.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/transient.el b/lisp/transient.el
index a818b946ce..f3c1db2c1f 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1190,6 +1190,8 @@ you are contemplating using it in your own code, then you 
should
 probably use this instead:
 
   (get COMMAND 'transient--suffix)"
+  (when command
+    (cl-check-type command command))
   (if transient--prefix
       (cl-find-if (lambda (obj)
                     (eq (transient--suffix-command obj)



reply via email to

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