diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-03-10 13:33:23 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-03-10 13:33:23 +0000 |
commit | 33e382f28cd4740c48f70f1ab90fc5f06ed14be2 (patch) | |
tree | 0fe3525ab1861761aefd2b63d2d4a99bdda8e5c3 /lisp/doc-view.el | |
parent | f67304a952c8d57227480374aa0083e8d3bcc7ff (diff) | |
download | emacs-33e382f28cd4740c48f70f1ab90fc5f06ed14be2.tar.gz |
(doc-view-convert-current-doc): Fix last change.
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r-- | lisp/doc-view.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index bfdc40d50b0..f4847e45f7c 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -730,7 +730,9 @@ Those files are saved in the directory given by the function (let ((res doc-view-resolution)) (with-temp-buffer (princ res (current-buffer)) - (write-file res-file))) + ;; Don't use write-file, so as to avoid prompts for `require-newline', + ;; or for pre-existing buffers with the same name, ... + (write-region nil nil res-file nil 'silently))) (case doc-view-doc-type (dvi ;; DVI files have to be converted to PDF before Ghostscript can process |