diff options
author | Romain Francoise <romain@orebokech.com> | 2006-04-13 14:38:39 +0000 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2006-04-13 14:38:39 +0000 |
commit | 501719afed815164d65a226d9ccfd7384d298556 (patch) | |
tree | 2bf71306fb3beb661c0e18c248d129a558f18463 /lisp/pcvs-parse.el | |
parent | a04e10bc37de92d6ce7d07b9782be6f0cabdcbb4 (diff) | |
download | emacs-501719afed815164d65a226d9ccfd7384d298556.tar.gz |
(cvs-parse-table): Use `with-temp-buffer' to avoid leaving temporary
.cvsignore buffers behind.
Diffstat (limited to 'lisp/pcvs-parse.el')
-rw-r--r-- | lisp/pcvs-parse.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/pcvs-parse.el b/lisp/pcvs-parse.el index 2053d8f5bd5..892dc962767 100644 --- a/lisp/pcvs-parse.el +++ b/lisp/pcvs-parse.el @@ -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 |