* lisp/files.el (write-file): Use vc-refresh-state.

This commit is contained in:
Stefan Monnier 2015-10-28 14:01:18 -04:00
parent 0cbe7a2332
commit db31a88325

View 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))
(defun file-extended-attributes (filename)
"Return an alist of extended attributes of file FILENAME.