From d063fff8a1fa46c2b15b3d5a5879ef234970f3ae Mon Sep 17 00:00:00 2001 From: Elijah Malaby Date: Sun, 2 Dec 2018 13:24:02 -0500 Subject: [PATCH] Fixed +popup--kill-buffer visibility check Now it checks all frames instead of only the current one. --- modules/ui/popup/autoload/popup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/popup/autoload/popup.el b/modules/ui/popup/autoload/popup.el index a526c45fa..6ae740c82 100644 --- a/modules/ui/popup/autoload/popup.el +++ b/modules/ui/popup/autoload/popup.el @@ -14,7 +14,7 @@ the buffer is visible, then set another timer and try again later." (when (buffer-live-p buffer) (let ((inhibit-quit t) (kill-buffer-hook (remq '+popup|kill-buffer-hook kill-buffer-hook))) - (cond ((get-buffer-window buffer) + (cond ((get-buffer-window buffer t) (with-current-buffer buffer (setq +popup--timer (run-at-time ttl nil #'+popup--kill-buffer buffer ttl))))