branch: externals/dtache
commit b8ab11cda6e24b3d2f8209a3387ceef88dd2df96
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>
Make sure to set current session in shell command
---
dtache.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dtache.el b/dtache.el
index cea1bda1bf..f1e0acafd6 100644
--- a/dtache.el
+++ b/dtache.el
@@ -219,7 +219,8 @@ Optionally SUPPRESS-OUTPUT."
nil 'dtache-shell-command-history)
current-prefix-arg))
(let ((dtache-session-origin 'shell-command)
- (dtache-session-action dtache-shell-command-action))
+ (dtache-session-action dtache-shell-command-action)
+ (dtache--current-session (dtache-create-session command)))
(dtache-start-session command suppress-output)))
;;;###autoload