changeset 94113:d4c7a819cf48

(vc-dir-kill-query): Fix thinko.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 16 Apr 2008 04:58:35 +0000
parents 7b3262e9986b
children 327f7207ff7e
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 16 03:41:17 2008 +0000
+++ b/lisp/ChangeLog	Wed Apr 16 04:58:35 2008 +0000
@@ -1,3 +1,7 @@
+2008-04-16  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc.el (vc-dir-kill-query): Fix thinko.
+
 2008-04-16  Glenn Morris  <rgm@gnu.org>
 
 	* calendar/diary-lib.el (diary-remind): Don't clobber `date' passed
--- a/lisp/vc.el	Wed Apr 16 03:41:17 2008 +0000
+++ b/lisp/vc.el	Wed Apr 16 04:58:35 2008 +0000
@@ -3160,10 +3160,11 @@
 (defun vc-dir-kill-query ()
   ;; Make sure that when the VC status buffer is killed the update
   ;; process running in background is also killed.
-  (when (vc-dir-busy)
+  (if (vc-dir-busy)
     (when (y-or-n-p "Status update process running, really kill status buffer?")
       (vc-dir-kill-dir-status-process)
-      t)))
+      t)
+    t))
 
 (defun vc-dir-next-line (arg)
   "Go to the next line.