project-kill-buffer-conditions: Tweak

* lisp/progmodes/project.el (project-kill-buffer-conditions): Tweak.
This commit is contained in:
Dmitry Gutov 2022-11-05 02:54:20 +02:00
parent a0d08878f1
commit 06f0d4793c

View file

@ -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))