]> git.eshelyaron.com Git - emacs.git/commitdiff
(cvs-parse-table): Use `with-temp-buffer' to avoid leaving temporary
authorRomain Francoise <romain@orebokech.com>
Thu, 13 Apr 2006 14:38:39 +0000 (14:38 +0000)
committerRomain Francoise <romain@orebokech.com>
Thu, 13 Apr 2006 14:38:39 +0000 (14:38 +0000)
.cvsignore buffers behind.

lisp/ChangeLog
lisp/pcvs-parse.el

index a174e83b5cdf15cb91535426d103dde7cc8de9fb..6f73827fa17f480349a70431aca7a8c17ba6eba8 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-13  Romain Francoise  <romain@orebokech.com>
+
+       * pcvs-parse.el (cvs-parse-table): Use `with-temp-buffer' to avoid
+       leaving temporary .cvsignore buffers behind.
+
 2006-04-13  Carsten Dominik  <dominik@science.uva.nl>
 
        * textmodes/org.el: (org-set-regexps-and-options,
index 2053d8f5bd5ecbc62a967ce8d87c782a7a5ba794..892dc9627671b9e8098def95be10fe26f7b3b57f 100644 (file)
@@ -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