master 5995c27abb0: ; Fix last change.

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit 5995c27abb0937e8ca21a7e9b5cd891541bde430
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    ; Fix last change.
---
 lisp/vc/vc.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index a9b72f471ae..7fe7e430860 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -4898,9 +4898,9 @@ tip revision are merged into the working file."
       ;; FIXME: Ideally we would only clear out the stored value for the
       ;; REMOTE-LOCATION from which we are pulling.
       (vc-run-delayed
-        (vc--repo-setprop backend 'vc-incoming-revision nil))
-      (when vc-dir-buffers
-        (vc-dir--refresh-headers (vc-root-dir backend))))
+        (vc--repo-setprop backend 'vc-incoming-revision nil)
+        (when vc-dir-buffers
+          (vc-dir--refresh-headers (vc-root-dir backend)))))
      ;; If VCS has `merge-news' functionality (CVS and SVN), use it.
      ((vc-find-backend-function backend 'merge-news)
       (save-some-buffers                ; save buffers visiting files
@@ -4943,9 +4943,9 @@ It also signals an error in a Bazaar bound branch."
                ;; FIXME: Ideally we would only clear out the
                ;; REMOTE-LOCATION to which we are pushing.
                (vc-run-delayed
-                 (vc--repo-setprop backend 'vc-incoming-revision nil))
-               (when vc-dir-buffers
-                 (vc-dir--refresh-headers (vc-root-dir backend))))
+                 (vc--repo-setprop backend 'vc-incoming-revision nil)
+                 (when vc-dir-buffers
+                   (vc-dir--refresh-headers (vc-root-dir backend)))))
       (user-error "VC push is unsupported for `%s'" backend))))
 
 ;;;###autoload
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.