[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient bdb37f5d0e 2/3: transient--parse-suffix: Cosm
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient bdb37f5d0e 2/3: transient--parse-suffix: Cosmetics |
Date: |
Fri, 6 Sep 2024 14:59:45 -0400 (EDT) |
branch: externals/transient
commit bdb37f5d0e861832d121453bbb8d394da0030045
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
transient--parse-suffix: Cosmetics
For local consistency with the otherwise-clause of another cond in
the same function.
---
lisp/transient.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index be00dfc691..13233ec25f 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -1229,10 +1229,8 @@ commands are aliases for."
(setq args (plist-put args :reader (macroexp-quote pop))))
((not (string-suffix-p "=" arg))
(setq class 'transient-switch))
- (t
- (setq class 'transient-option)))))
- (t
- (error "Need command, argument, `:info' or `:info*'; got %s" car)))
+ ((setq class 'transient-option)))))
+ ((error "Need command, argument, `:info' or `:info*'; got %s" car)))
(while (keywordp car)
(let ((key pop)
(val pop))