]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-cvs-status-extra-headers): Use full directory name when reporting
authorChong Yidong <cyd@stupidchicken.com>
Sat, 25 Oct 2008 20:59:38 +0000 (20:59 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 25 Oct 2008 20:59:38 +0000 (20:59 +0000)
the module.

lisp/vc-cvs.el

index 0d8cbb1e6fb1b2f9307b1d204719e0acae571391..cbc7fa59bab7695873c49b1c0e0be0cc2237a114 100644 (file)
@@ -1000,8 +1000,8 @@ state."
             (with-temp-buffer
               (insert-file-contents "CVS/Repository")
               (goto-char (point-min))
-              (re-search-forward "[^/\n]*" nil t)
-              (concat (match-string 0) "\n"))
+              (skip-chars-forward "^\n")
+              (concat (buffer-substring (point-min) (point)) "\n"))
           (file-error nil))))
     (concat
      (cond (module