Skip to content

Commit

Permalink
transient--insert-groups: Use while-let
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed May 6, 2024
1 parent 2dd0102 commit 753de90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -3692,9 +3692,8 @@ have a history of their own.")
(transient-with-shadowed-buffer
(funcall hide))))
(list group))))
transient--layout))
group)
(while (setq group (pop groups))
transient--layout)))
(while-let ((group (pop groups)))
(transient--insert-group group)
(when groups
(insert ?\n)))))
Expand Down

0 comments on commit 753de90

Please sign in to comment.