* vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on revert.
authorAaron S. Hawley <aaron.s.hawley@gmail.com>
Tue, 29 May 2012 11:41:45 +0000 (19:41 +0800)
committerChong Yidong <cyd@gnu.org>
Tue, 29 May 2012 11:41:45 +0000 (19:41 +0800)
Fixes: debbugs:11488

lisp/ChangeLog
lisp/vc/vc.el

index 9c72bc6..03acd7e 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
+
+       * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
+       revert (Bug#11488).
+
 2012-05-29  Juri Linkov  <juri@jurta.org>
 
        * isearch.el (isearch-mode-map): Bind `M-s _' to
index ad828d6..87e4e1c 100644 (file)
@@ -2285,7 +2285,7 @@ to the working revision (except for keyword expansion)."
                                       (if (= nfiles 1) "" "s"))))))
            (error "Revert canceled")))
       (when diff-buffer
-       (quit-windows-on diff-buffer t)))
+       (quit-windows-on diff-buffer)))
     (dolist (file files)
       (message "Reverting %s..." (vc-delistify files))
       (vc-revert-file file)
@@ -2331,7 +2331,7 @@ depending on the underlying version-control system."
     ;; Display changes
     (unless (yes-or-no-p "Discard these revisions? ")
       (error "Rollback canceled"))
-    (quit-windows-on "*vc-diff*" t)
+    (quit-windows-on "*vc-diff*")
     ;; Do the actual reversions
     (message "Rolling back %s..." (vc-delistify files))
     (with-vc-properties