[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy fc9bdbc 142/173: Asynchronously downloaded b
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy fc9bdbc 142/173: Asynchronously downloaded buffers are now automatically reverted |
Date: |
Sat, 20 Oct 2018 10:36:46 -0400 (EDT) |
branch: externals/ssh-deploy
commit fc9bdbcf07c37d640fd1eb3650d618a0e23ed011
Author: Christian Johansson <address@hidden>
Commit: Christian Johansson <address@hidden>
Asynchronously downloaded buffers are now automatically reverted
---
ssh-deploy.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ssh-deploy.el b/ssh-deploy.el
index 4fd46da..2b25af1 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -3,8 +3,8 @@
;; Author: Christian Johansson <github.com/cjohansson>
;; Maintainer: Christian Johansson <github.com/cjohansson>
;; Created: 5 Jul 2016
-;; Modified: 3 July 2018
-;; Version: 1.91
+;; Modified: 7 July 2018
+;; Version: 1.92
;; Keywords: tools, convenience
;; URL: https://github.com/cjohansson/emacs-ssh-deploy
@@ -467,7 +467,9 @@
,path-local))
(lambda(return-path)
(ssh-deploy--mode-line-set-status-and-update
ssh-deploy--status-idle return-path)
- (message "Completed download of '%s'. (asynchronously)"
return-path))))
+ (message "Completed download of '%s'. (asynchronously)" return-path)
+ (with-current-buffer (find-buffer-visiting return-path)
+ (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)
@@ -803,7 +805,7 @@
(list ,path 0 buffer)))
(list ,path 1 buffer)))
(lambda(response)
- (when (boundp (nth 2 response))
+ (when (nth 2 response)
(ssh-deploy--mode-line-set-status-and-update
ssh-deploy--status-idle (nth 2 response))
(kill-buffer (find-buffer-visiting (nth 2 response))))
(cond ((= 0 (nth 1 response)) (message "Completed deletion of '%s'.
(asynchronously)" (nth 0 response)))
- [elpa] externals/ssh-deploy c813bbb 154/173: Improved syntax and comments for detecting remote changes, (continued)
- [elpa] externals/ssh-deploy c813bbb 154/173: Improved syntax and comments for detecting remote changes, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 1d3d534 161/173: Added verbose flag to enable silencing of non-error messages, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 0e3e55e 168/173: Merge branch 'master' of https://github.com/cjohansson/emacs-ssh-deploy, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy aef539b 115/173: Create potential missing local directory when downloading file, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c2a2be4 119/173: Naming remote SQL buffers to enable having multiple open simultaneously, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 592427e 121/173: Added support for launching remote shell sessions, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy c07b006 114/173: Replaced (file-regular-p) with (not (file-directory-p)), Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 96276c8 135/173: Added forced upload to menu-bar, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 715325d 126/173: Improved wording of directory difference calculation, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy b879998 116/173: Added support for remote SQL sessions, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy fc9bdbc 142/173: Asynchronously downloaded buffers are now automatically reverted,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 519a639 147/173: Fixed issue were buffer was marked as modified after a rename, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 2f281c3 158/173: Fixed bug in (when (not to (unless conversion, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy a81c3f1 166/173: Fixed README syntax, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy b560147 164/173: Rename run script menu item, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 104a384 170/173: Fixed lambda function predicate function, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 67313e2 172/173: Merge branch 'master' of https://github.com/cjohansson/emacs-ssh-deploy, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 89f9dd6 169/173: Fixed DirectoryVariable run script predicate function, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 57cec3d 165/173: Improved documentation of custom deployment script, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy ffc3cd0 173/173: Added support for multithreading, Stefan Monnier, 2018/10/20
- [elpa] externals/ssh-deploy 099c7d8 139/173: Added support for mode-line status updates, Stefan Monnier, 2018/10/20