Silently autokill processes in closed popups
This commit is contained in:
parent
0479ac3b88
commit
74eaed414e
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ properties."
|
|||
(with-selected-window window
|
||||
(doom-popup-mode -1)
|
||||
(when autokill-p
|
||||
(when-let (process (get-buffer-process (current-buffer)))
|
||||
(set-process-query-on-exit-flag process nil))
|
||||
(kill-buffer (current-buffer))))))))
|
||||
|
||||
(advice-add #'shackle-display-buffer :around #'doom*popup-init)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue