From db31a883252e17af4386598c52d42ed81db56973 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 28 Oct 2015 14:01:18 -0400 Subject: [PATCH] * lisp/files.el (write-file): Use vc-refresh-state. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5