From: Stefan Monnier Date: Wed, 28 Oct 2015 18:01:18 +0000 (-0400) Subject: * lisp/files.el (write-file): Use vc-refresh-state. X-Git-Tag: emacs-25.0.90~989 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db31a883252e17af4386598c52d42ed81db56973;p=emacs.git * lisp/files.el (write-file): Use vc-refresh-state. --- 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.