Mercurial > emacs
changeset 78185:428256640056
(reftex-access-parse-file): Create parse file in a way that does not interfere
with recentf.
author | Reiner Steib <Reiner.Steib@gmx.de> |
---|---|
date | Sun, 22 Jul 2007 09:02:02 +0000 |
parents | 517d95c4526b |
children | cc31545ae790 |
files | lisp/ChangeLog lisp/textmodes/reftex.el |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Jul 21 23:47:30 2007 +0000 +++ b/lisp/ChangeLog Sun Jul 22 09:02:02 2007 +0000 @@ -1,3 +1,8 @@ +2007-07-22 Ralf Angeli <angeli@caeruleus.net> + + * textmodes/reftex.el (reftex-access-parse-file): Create parse + file in a way that does not interfere with recentf. + 2007-07-21 Thien-Thi Nguyen <ttn@gnuvola.org> * image-dired.el (image-dired-sane-db-file): New func.
--- a/lisp/textmodes/reftex.el Sat Jul 21 23:47:30 2007 +0000 +++ b/lisp/textmodes/reftex.el Sun Jul 22 09:02:02 2007 +0000 @@ -1333,7 +1333,7 @@ (if (file-writable-p file) (progn (message "Writing parse file %s" (abbreviate-file-name file)) - (find-file file) + (set-buffer (get-buffer-create file)) (erase-buffer) (insert (format ";; RefTeX parse info file\n")) (insert (format ";; File: %s\n" master)) @@ -1358,7 +1358,7 @@ (t (print x)))) list)) (insert "))\n\n") - (save-buffer 0) + (write-region (point-min) (point-max) file nil 'silent) (kill-buffer (current-buffer))) (error "Cannot write to file %s" file))) t))))