]> git.eshelyaron.com Git - emacs.git/commitdiff
Kill eshell-mode project buffers too
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Dec 2021 01:20:27 +0000 (04:20 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Dec 2021 01:20:50 +0000 (04:20 +0300)
* lisp/progmodes/project.el (project-kill-buffer-conditions):
Add 'eshell-mode' too (bug#49465).

lisp/progmodes/project.el

index 8fecdbb61cf016715e49beb56ea738e680c4d33e..3b634471ace25243e414f764e0eefe1c1ba348f5 100644 (file)
@@ -1175,6 +1175,7 @@ displayed."
     (derived-mode . dired-mode)
     (derived-mode . diff-mode)
     (derived-mode . comint-mode)
+    (derived-mode . eshell-mode)
     (derived-mode . change-log-mode))
   "List of conditions to kill buffers related to a project.
 This list is used by `project-kill-buffers'.