From 38977b6134e7c57788ca92a31362d536d4c7687a Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 15 Dec 2021 02:57:20 +0300 Subject: [PATCH] Add 'comint-mode' and 'change-log-mode' to project-kill-buffer-conditions * lisp/progmodes/project.el (project-kill-buffer-conditions): Add 'comint-mode' and 'change-log-mode' to the list (bug#52465). --- lisp/progmodes/project.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index c2e125a017a..28c1e47e6e3 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -1173,7 +1173,9 @@ displayed." (not (major-mode . help-mode))) (derived-mode . compilation-mode) (derived-mode . dired-mode) - (derived-mode . diff-mode)) + (derived-mode . diff-mode) + (derived-mode . comint-mode) + (derived-mode . change-log-mode)) "List of conditions to kill buffers related to a project. This list is used by `project-kill-buffers'. Each condition is either: @@ -1206,9 +1208,9 @@ current project, it will be killed." (const and) sexp) (cons :tag "Disjunction" (const or) sexp))) - :version "28.1" + :version "29.1" :group 'project - :package-version '(project . "0.6.0")) + :package-version '(project . "0.8.2")) (defcustom project-kill-buffers-display-buffer-list nil "Non-nil to display list of buffers to kill before killing project buffers. -- 2.39.5