Skip to content

Commit

Permalink
transient--preserve-window-p: Make argument optional
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Feb 22, 2025
1 parent abb7167 commit 40f0a2d
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 @@ -4146,7 +4146,7 @@ have a history of their own.")
(kill-buffer transient--buffer))
(setq transient--buffer nil))

(defun transient--preserve-window-p (nohide)
(defun transient--preserve-window-p (&optional nohide)
(let ((show (if nohide 'fixed transient-show-during-minibuffer-read)))
(when (and (integerp show)
(window-live-p transient--window)
Expand Down

0 comments on commit 40f0a2d

Please sign in to comment.