From: Dmitry Gutov Date: Sat, 5 Nov 2022 00:54:20 +0000 (+0200) Subject: project-kill-buffer-conditions: Tweak X-Git-Tag: emacs-29.0.90~1616^2~296 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06f0d4793c66b8fa71478fef002d92d2c4d53c92;p=emacs.git project-kill-buffer-conditions: Tweak * lisp/progmodes/project.el (project-kill-buffer-conditions): Tweak. --- 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))