branch: externals/ssh-deploy
commit 53081a3383207e7be4da7be47800704ab9a48a24
Author: Christian Johansson <[email protected]>
Commit: Christian Johansson <[email protected]>
After downloading asynchronously associated buffer is reverted
---
ssh-deploy.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ssh-deploy.el b/ssh-deploy.el
index d85f491..b2cf886 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -471,8 +471,8 @@
(message "Completed download of '%s'. (asynchronously)" return-path)
(let ((local-buffer (find-buffer-visiting return-path)))
(when local-buffer
- (with-current-buffer local-buffer)
- (revert-buffer t t t))))))
+ (with-current-buffer local-buffer
+ (revert-buffer t t t)))))))
(display-warning 'ssh-deploy "async.el is not installed" :warning)))
(defun ssh-deploy--download-via-tramp (path-remote path-local revision-folder)