ui/popup: fix buffer cleanup ignoring kill-buffer-hook

This commit is contained in:
Henrik Lissner 2019-09-22 14:25:10 -04:00
parent 4d910accc9
commit 7a1c8bd582
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -27,7 +27,7 @@ the buffer is visible, then set another timer and try again later."
(let (confirm-kill-processes)
(when-let (process (get-buffer-process buffer))
(kill-process process))
(let (kill-buffer-hook kill-buffer-query-functions)
(let (kill-buffer-query-functions)
(kill-buffer buffer))))))))))
(defun +popup--delete-window (window)