* Richard Stallman (2007-07-21) writes:
> Would you please DTRT then ack? Please install the fix
> in the Emacs 22 branch.
>
> From: David Reitter <[EMAIL PROTECTED]>
>
> reftex seems to visit .rel files in a way that makes them appear in
> the `recentf' file list.
Here is a patch with changelog entry. Could somebody please install
this? I don't have write access to the Emacs CVS repository.
2007-07-22 Ralf Angeli <[EMAIL PROTECTED]>
* textmodes/reftex.el (reftex-access-parse-file): Create parse
file in a way that does not interfere with recentf.
--- reftex.el 22 Mar 2007 22:06:43 +0100 1.73
+++ reftex.el 22 Jul 2007 09:49:16 +0200
@@ -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))))
--
Ralf
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel