+2008-08-23 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-dir.el (vc-dir-prepare-status-buffer): Make sure we use a
+ directory name.
+
2008-08-23 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gud.el (gud-common-init): Use absolute file so that
(defun vc-dir-prepare-status-buffer (bname dir backend &optional create-new)
"Find a buffer named BNAME showing DIR, or create a new one."
- (setq dir (expand-file-name dir))
+ (setq dir (file-name-as-directory (expand-file-name dir)))
(let*
;; Look for another buffer name BNAME visiting the same directory.
((buf (save-excursion