]> git.eshelyaron.com Git - emacs.git/commitdiff
Add 'comint-mode' and 'change-log-mode' to project-kill-buffer-conditions
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 14 Dec 2021 23:57:20 +0000 (02:57 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 14 Dec 2021 23:57:20 +0000 (02:57 +0300)
* lisp/progmodes/project.el (project-kill-buffer-conditions):
Add 'comint-mode' and 'change-log-mode' to the list (bug#52465).

lisp/progmodes/project.el

index c2e125a017a52ede977cef3a2cb239d9960398cb..28c1e47e6e390d2585a5a96c07c2e728efa9037d 100644 (file)
@@ -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.