(reftex-access-parse-file): Create parse file in a way that does not interfere
with recentf.
This commit is contained in:
parent
99bfbfa9d2
commit
a0f55a1df2
2 changed files with 7 additions and 2 deletions
|
@ -1333,7 +1333,7 @@ Valid actions are: readable, restore, read, kill, write."
|
|||
(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 @@ Valid actions are: readable, restore, read, kill, write."
|
|||
(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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue