summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-10-28 14:01:18 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-10-28 14:01:18 -0400
commitdb31a883252e17af4386598c52d42ed81db56973 (patch)
tree12573e30fcedabd79dc9cf1b0962d0667e380873
parent0cbe7a23326323df541ef80678429612e6a2f542 (diff)
downloademacs-db31a883252e17af4386598c52d42ed81db56973.tar.gz
* lisp/files.el (write-file): Use vc-refresh-state.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index d0e3e6886f0..b25994c0c92 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.