1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 11:21:04 -08:00

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): ;; Most of temp and logging buffers (aside from hidden ones):
(and (and
(major-mode . fundamental-mode) (major-mode . fundamental-mode)
(not "\\` ")) "\\[^ ]")
;; non-text buffer such as xref, occur, vc, log, ... ;; non-text buffer such as xref, occur, vc, log, ...
(and (derived-mode . special-mode) (and (derived-mode . special-mode)
(not (major-mode . help-mode)) (not (major-mode . help-mode))