diff lisp/pcvs-parse.el @ 70014:876ca9433460

(cvs-parse-table): Use `with-temp-buffer' to avoid leaving temporary .cvsignore buffers behind.
author Romain Francoise <romain@orebokech.com>
date Thu, 13 Apr 2006 14:38:39 +0000
parents 3bd95f4f2941
children 2b77fa42947f c156f6a9e7b5
line wrap: on
line diff
--- a/lisp/pcvs-parse.el	Thu Apr 13 14:31:23 2006 +0000
+++ b/lisp/pcvs-parse.el	Thu Apr 13 14:38:39 2006 +0000
@@ -271,8 +271,8 @@
 	;; 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