]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/files.el (write-file): Use vc-refresh-state.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 18:01:18 +0000 (14:01 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 18:01:18 +0000 (14:01 -0400)
lisp/files.el

index d0e3e6886f022db42b03dc083f3b2152e9ed5de1..b25994c0c921d4c8fcebafc3430244424bb3c898 100644 (file)
@@ -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))
 \f
 (defun file-extended-attributes (filename)
   "Return an alist of extended attributes of file FILENAME.