feature/popup: clean up buffer processes too, if any
This commit is contained in:
parent
b681917082
commit
d76f991c0c
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ the buffer is visible, then set another timer and try again later."
|
|||
(with-demoted-errors "Error killing transient buffer: %s"
|
||||
(let ((inhibit-message (not doom-debug-mode)))
|
||||
(message "Cleaned up transient buffer: %s" buffer))
|
||||
(when-let* ((process (get-buffer-process (current-buffer))))
|
||||
(kill-process process))
|
||||
(kill-buffer buffer)))))
|
||||
|
||||
(defun +popup--init (window alist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue