Commit 4714a481 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(vc-dir-prepare-status-buffer): Make sure we use a

directory name.
parent 99dda2cd
2008-08-23 Dan Nicolaescu <>
* vc-dir.el (vc-dir-prepare-status-buffer): Make sure we use a
directory name.
2008-08-23 Nick Roberts <>
* progmodes/gud.el (gud-common-init): Use absolute file so that
......@@ -88,7 +88,7 @@ See `run-hooks'."
(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)))
;; Look for another buffer name BNAME visiting the same directory.
((buf (save-excursion
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment