From 06f0d4793c66b8fa71478fef002d92d2c4d53c92 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 5 Nov 2022 02:54:20 +0200 Subject: [PATCH] project-kill-buffer-conditions: Tweak * lisp/progmodes/project.el (project-kill-buffer-conditions): Tweak. --- lisp/progmodes/project.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index fc916739d01..3f3015b78d5 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1228,7 +1228,7 @@ displayed." ;; Most of temp and logging buffers (aside from hidden ones): (and (major-mode . fundamental-mode) - (not "\\` ")) + "\\[^ ]") ;; non-text buffer such as xref, occur, vc, log, ... (and (derived-mode . special-mode) (not (major-mode . help-mode)) -- 2.39.5