]> code.delx.au - gnu-emacs/blobdiff - lisp/pcvs-parse.el
*** empty log message ***
[gnu-emacs] / lisp / pcvs-parse.el
index 1b08473d305c73c803fb6a1461c41dfa6d2ed239..892dc9627671b9e8098def95be10fe26f7b3b57f 100644 (file)
@@ -1,7 +1,7 @@
 ;;; pcvs-parse.el --- the CVS output parser
 
 ;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-;;   2000, 2002, 2003, 2004  Free Software Foundation, Inc.
+;;   2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
 ;; Author: Stefan Monnier <monnier@cs.yale.edu>
 ;; Keywords: pcl-cvs
@@ -271,8 +271,8 @@ The remaining KEYS are passed directly to `cvs-create-fileinfo'."
        ;; on the current branch (either because it only exists in other
        ;; branches, or because it's been removed).
        (if (ignore-errors
-             (with-current-buffer
-                 (find-file-noselect (expand-file-name
+             (with-temp-buffer
+               (insert-file-contents (expand-file-name
                                       ".cvsignore" (file-name-directory dir)))
                (goto-char (point-min))
                (re-search-forward