[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 528408cdd1 2/2: Fix bug in dtache-eshell
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 528408cdd1 2/2: Fix bug in dtache-eshell |
Date: |
Sun, 23 Jan 2022 17:57:32 -0500 (EST) |
branch: externals/dtache
commit 528408cdd15ae15cfa944c0f06900afddaabb14e
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Fix bug in dtache-eshell
The filter used in dtache-eshell-select-session was incorrect. It was
showing all sessions instead of filtering out the active ones.
---
dtache-eshell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtache-eshell.el b/dtache-eshell.el
index dd50fb1ff1..89484151ce 100644
--- a/dtache-eshell.el
+++ b/dtache-eshell.el
@@ -49,7 +49,7 @@
(thread-last (dtache-get-sessions)
(seq-filter (lambda (it)
(string= (car (dtache--session-host it))
host-name)))
- (seq-filter #'dtache--determine-session-state))))
+ (seq-filter (lambda (it) (eq 'active
(dtache--determine-session-state it)))))))
(dtache-completing-read sessions)))
(defun dtache-eshell-get-dtach-process ()