emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master db31a88: * lisp/files.el (write-file): Use vc-refre


From: Stefan Monnier
Subject: [Emacs-diffs] master db31a88: * lisp/files.el (write-file): Use vc-refresh-state.
Date: Wed, 28 Oct 2015 18:01:21 +0000

branch: master
commit db31a883252e17af4386598c52d42ed81db56973
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/files.el (write-file): Use vc-refresh-state.
---
 lisp/files.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/files.el b/lisp/files.el
index d0e3e68..b25994c 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4041,7 +4041,7 @@ Interactively, confirmation is required unless you supply 
a prefix argument."
   (save-buffer)
   ;; It's likely that the VC status at the new location is different from
   ;; the one at the old location.
-  (vc-find-file-hook))
+  (vc-refresh-state))
 
 (defun file-extended-attributes (filename)
   "Return an alist of extended attributes of file FILENAME.



reply via email to

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