mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/popup: clean up buffer processes too, if any
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user