From ec6372ef66e612c594cac0fd4594ba6f0df854d1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 16 Jun 2018 21:02:54 +0200 Subject: [PATCH] Mark all temp buffers as unreal Hopefully there are no plugins that use temp buffers to display things! --- core/autoload/buffers.el | 1 + 1 file changed, 1 insertion(+) diff --git a/core/autoload/buffers.el b/core/autoload/buffers.el index 701e82af9..df417f493 100644 --- a/core/autoload/buffers.el +++ b/core/autoload/buffers.el @@ -112,6 +112,7 @@ The exact criteria for a real buffer is: If BUFFER-OR-NAME is omitted or nil, the current buffer is tested." (when-let* ((buf (ignore-errors (window-normalize-buffer buffer-or-name)))) (or (buffer-local-value 'doom-real-buffer-p buf) + (not (doom-temp-buffer-p buf)) (run-hook-with-args-until-success 'doom-real-buffer-functions buf) (not (run-hook-with-args-until-success 'doom-unreal-buffer-functions buf)))))