+2008-05-23 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc.el (vc-delete-file): Make sure the buffer is deleted and
+ vc-dir buffers are updated.
+
2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
* vc.el (vc-delete-file): Don't try to resynch the buffer.
(when (file-exists-p file) (delete-file file))
;; Forget what VC knew about the file.
(vc-file-clearprops file)
- ;; Since we've deleted the file and we've made sure the buffer had no
- ;; unsaved changes, we can kill the buffer. Much easier than trying to
- ;; properly refresh its VC state.
- (when buf (kill-buffer buf))))
+ ;; Make sure the buffer is deleted and the *vc-dir* buffers are
+ ;; updated after this.
+ (vc-resynch-buffer file nil t)))
;;;###autoload
(defun vc-rename-file (old new)