diff options
| author | David Kastrup | 2007-07-22 19:54:08 +0000 |
|---|---|---|
| committer | David Kastrup | 2007-07-22 19:54:08 +0000 |
| commit | a9686d00fd25a43b8f94bf73bff9442118ff4272 (patch) | |
| tree | 0e9bcf3c045e481a74a8284edbb92a8bef99e501 | |
| parent | fff4a04678f0df7dfe6082b3d5a5a82717741fe6 (diff) | |
| download | emacs-a9686d00fd25a43b8f94bf73bff9442118ff4272.tar.gz emacs-a9686d00fd25a43b8f94bf73bff9442118ff4272.zip | |
*** empty log message ***
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/textmodes/reftex.el | 8 |
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 103c2bda563..65274cc29e6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2007-07-22 Ralf Angeli <angeli@caeruleus.net> | ||
| 2 | |||
| 3 | * textmodes/reftex.el (reftex-access-parse-file): Create parse | ||
| 4 | file in a way that does not interfere with recentf mode. | ||
| 5 | (reftex-access-parse-file): Do not risk destroying an existing | ||
| 6 | buffer. | ||
| 7 | |||
| 1 | 2007-07-22 Alexandre Julliard <julliard@winehq.org> | 8 | 2007-07-22 Alexandre Julliard <julliard@winehq.org> |
| 2 | 9 | ||
| 3 | * vc-git.el: New file. | 10 | * vc-git.el: New file. |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 343a7c5a947..200d271d631 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -1331,10 +1331,8 @@ Valid actions are: readable, restore, read, kill, write." | |||
| 1331 | (put docstruct-symbol 'modified nil) | 1331 | (put docstruct-symbol 'modified nil) |
| 1332 | (save-excursion | 1332 | (save-excursion |
| 1333 | (if (file-writable-p file) | 1333 | (if (file-writable-p file) |
| 1334 | (progn | 1334 | (with-temp-file file |
| 1335 | (message "Writing parse file %s" (abbreviate-file-name file)) | 1335 | (message "Writing parse file %s" (abbreviate-file-name file)) |
| 1336 | (find-file file) | ||
| 1337 | (erase-buffer) | ||
| 1338 | (insert (format ";; RefTeX parse info file\n")) | 1336 | (insert (format ";; RefTeX parse info file\n")) |
| 1339 | (insert (format ";; File: %s\n" master)) | 1337 | (insert (format ";; File: %s\n" master)) |
| 1340 | (insert (format ";; User: %s (%s)\n\n" | 1338 | (insert (format ";; User: %s (%s)\n\n" |
| @@ -1357,9 +1355,7 @@ Valid actions are: readable, restore, read, kill, write." | |||
| 1357 | ) | 1355 | ) |
| 1358 | (t (print x)))) | 1356 | (t (print x)))) |
| 1359 | list)) | 1357 | list)) |
| 1360 | (insert "))\n\n") | 1358 | (insert "))\n\n")) |
| 1361 | (save-buffer 0) | ||
| 1362 | (kill-buffer (current-buffer))) | ||
| 1363 | (error "Cannot write to file %s" file))) | 1359 | (error "Cannot write to file %s" file))) |
| 1364 | t)))) | 1360 | t)))) |
| 1365 | 1361 | ||