branch: externals/dtache
commit b94baaeecd400cd46fd76ee7a0a8cb827bde770e
Author: Niklas Eklund <niklas.ekl...@posteo.net>
Commit: Niklas Eklund <niklas.ekl...@posteo.net>

    Fix bug in setup notification
---
 dtache.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dtache.el b/dtache.el
index 2dd1af9dea..34675a4913 100644
--- a/dtache.el
+++ b/dtache.el
@@ -505,7 +505,7 @@ Sessions running on  current host or localhost are updated."
 
 (defun dtache-setup-notification (session)
   "Setup notification for SESSION."
-  (if (file-remote-p default-directory)
+  (if (file-remote-p (dtache--session-working-directory session))
       (dtache--create-remote-session-timer)
     (dtache--add-end-of-session-notification session)))
 

Reply via email to