buffer if the parent buffer is in vc-dired-mode.
+2007-11-23 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc.el (vc-deduce-fileset): Also look for a fileset in the parent
+ buffer if the parent buffer is in vc-dired-mode.
+
2007-11-23 Mark A. Hershberger <mah@everybody.org>
* nxml: Initial merge of nxml. Kept nxml/char-name subdir for
marked))
((vc-backend buffer-file-name)
(list buffer-file-name))
- ((and vc-parent-buffer (buffer-file-name vc-parent-buffer))
+ ((and vc-parent-buffer (or (buffer-file-name vc-parent-buffer)
+ (with-current-buffer vc-parent-buffer
+ vc-dired-mode)))
(progn
(set-buffer vc-parent-buffer)
(vc-deduce-fileset)))