We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5d4c70 commit ed5d4a0Copy full SHA for ed5d4a0
1 file changed
lisp/transient.el
@@ -1255,10 +1255,19 @@ commands are aliases for."
1255
(setq class v)
1256
(push k keys)
1257
(push v keys))))
1258
- (while (let ((arg (car args)))
1259
- (or (vectorp arg)
1260
- (and arg (symbolp arg))))
1261
- (push (pop args) suffixes))
+ (while-let
+ ((arg (car args))
+ (arg (cond
+ ;; Inline group definition.
1262
+ ((vectorp arg)
1263
+ (pop args))
1264
+ ;; Quoted include, as one would expect.
1265
+ ((eq (car-safe arg) 'quote)
1266
+ (cadr (pop args)))
1267
+ ;; Unquoted include, for compatibility.
1268
+ ((and arg (symbolp arg))
1269
+ (pop args)))))
1270
+ (push arg suffixes))
1271
(when (eq (car-safe (car args)) 'declare)
1272
(setq declare (car args))
1273
(setq args (cdr args))
0 commit comments