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

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

[elpa] externals/ssh-deploy 519a639 147/173: Fixed issue were buffer was


From: Stefan Monnier
Subject: [elpa] externals/ssh-deploy 519a639 147/173: Fixed issue were buffer was marked as modified after a rename
Date: Sat, 20 Oct 2018 10:36:47 -0400 (EDT)

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

    Fixed issue were buffer was marked as modified after a rename
---
 ssh-deploy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index 2284824..d85f491 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -872,8 +872,8 @@
           (if (not (file-directory-p new-path-local))
               (progn
                 (rename-buffer new-path-local)
-                (set-buffer-modified-p nil)
-                (set-visited-file-name new-path-local))
+                (set-visited-file-name new-path-local)
+                (set-buffer-modified-p nil))
             (dired new-path-local))
           (message "Renamed '%s' to '%s'." old-path-local new-path-local)
           (if (and async (fboundp 'async-start))



reply via email to

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