branch: externals/ssh-deploy commit 519a639d5d5791ee68d9422408ff0e9c82ac5b53 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
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))