Skip to content

Commit

Permalink
transient--parse-group: Catch keyword with no value
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Oct 8, 2024
1 parent bbda5bb commit 8873c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -1138,8 +1138,8 @@ commands are aliases for."
(when (stringp car)
(setq args (plist-put args :description pop)))
(while (keywordp car)
(let ((key pop)
(val pop))
(let* ((key pop)
(val (if spec pop (error "No value for `%s'" key))))
(cond ((eq key :class)
(setq class (macroexp-quote val)))
((or (symbolp val)
Expand Down

0 comments on commit 8873c30

Please sign in to comment.