branch: externals/dtache
commit 3cc493e6b0ea53f5acc9e66e83b71b19190d4e5f
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>
Add missing dtache-log-mode to detach-dwim
---
dtache.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/dtache.el b/dtache.el
index a295abb209..75de38a3ed 100644
--- a/dtache.el
+++ b/dtache.el
@@ -430,6 +430,7 @@ compilation or shell-command the command will also kill the
window."
(if-let ((command-or-compile
(cond ((string-match "\*Dtache Shell Command" (buffer-name)) t)
((string-match "\*dtache-compilation" (buffer-name)) t)
+ ((eq major-mode 'dtache-log-mode) t)
((eq major-mode 'dtache-tail-mode) t)
(t nil))))
;; `dtache-shell-command' or `dtache-compile'