# HG changeset patch # User Romain Francoise # Date 1144939119 0 # Node ID 876ca94334605b284e66e5aea13f170c284d2041 # Parent d30be4cf861ace33b9209d4a6db1cbeb128c20cf (cvs-parse-table): Use `with-temp-buffer' to avoid leaving temporary .cvsignore buffers behind. diff -r d30be4cf861a -r 876ca9433460 lisp/ChangeLog --- a/lisp/ChangeLog Thu Apr 13 14:31:23 2006 +0000 +++ b/lisp/ChangeLog Thu Apr 13 14:38:39 2006 +0000 @@ -1,3 +1,8 @@ +2006-04-13 Romain Francoise + + * pcvs-parse.el (cvs-parse-table): Use `with-temp-buffer' to avoid + leaving temporary .cvsignore buffers behind. + 2006-04-13 Carsten Dominik * textmodes/org.el: (org-set-regexps-and-options, diff -r d30be4cf861a -r 876ca9433460 lisp/pcvs-parse.el --- 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