1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

project-kill-buffer-conditions: Skip Gnus modes as well

* lisp/progmodes/project.el (project-kill-buffer-conditions):
Skip Gnus modes as well (bug#58839).
This commit is contained in:
Dmitry Gutov 2022-11-04 03:03:29 +02:00
parent 44f23dac25
commit ef45bfacb2

View file

@ -1228,7 +1228,8 @@ displayed."
(not "\\` "))
;; non-text buffer such as xref, occur, vc, log, ...
(and (derived-mode . special-mode)
(not (major-mode . help-mode)))
(not (major-mode . help-mode))
(not (derived-mode . gnus-mode)))
(derived-mode . compilation-mode)
(derived-mode . dired-mode)
(derived-mode . diff-mode)