Skip to content

Commit

Permalink
transient-format-description: Operate in transient--shadowed-buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 2, 2023
1 parent 9d9e931 commit 0677e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -3710,7 +3710,7 @@ called inside the correct buffer (see `transient--insert-group')
and its value is returned to the caller."
(and-let* ((desc (oref obj description))
(desc (if (functionp desc)
(with-current-buffer transient--original-buffer
(with-current-buffer transient--shadowed-buffer
(if (= (car (func-arity desc)) 1)
(funcall desc obj)
(funcall desc)))
Expand Down

0 comments on commit 0677e2c

Please sign in to comment.