diff options
author | Karl Heuer <[email protected]> | 1999-04-26 04:13:01 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1999-04-26 04:13:01 +0000 |
commit | 2990dcd48431cfb159dbc0e1b6f9738cd35866f3 (patch) | |
tree | cf73f5d86bf3ccd57950278b1c969e820aa712a2 /lisp/textmodes/texinfmt.el | |
parent | 889c6ef5d97c31c1cbba36f2a851063f2bc67e49 (diff) |
(texinfo-format-buffer): Bind coding-system-for-write, to avoid hanging when
non-interactive.
Diffstat (limited to 'lisp/textmodes/texinfmt.el')
-rw-r--r-- | lisp/textmodes/texinfmt.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index b1653ffa36..101737227b 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -113,7 +113,8 @@ Non-nil argument (prefix, if interactive) means don't make tag table and don't split the file if large. You can use Info-tagify and Info-split to do these manually." (interactive "P") - (let ((lastmessage "Formatting Info file...")) + (let ((lastmessage "Formatting Info file...") + (coding-system-for-write buffer-file-coding-system)) (message lastmessage) (widen) (texinfo-format-buffer-1) |