emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ssh-deploy 53081a3 148/173: After downloading asynchron


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 53081a3 148/173: After downloading asynchronously associated buffer is reverted
Date: Sat, 20 Oct 2018 10:36:47 -0400 (EDT)

branch: externals/ssh-deploy
commit 53081a3383207e7be4da7be47800704ab9a48a24
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]