# HG changeset patch # User Karl Heuer # Date 925099981 0 # Node ID 54ef2ebc8494079da7d07404aef366b01ba0df27 # Parent ea2988489a80bbc04420879e7aa5f61c1dc9fad9 (texinfo-format-buffer): Bind coding-system-for-write, to avoid hanging when non-interactive. diff -r ea2988489a80 -r 54ef2ebc8494 lisp/textmodes/texinfmt.el --- a/lisp/textmodes/texinfmt.el Mon Apr 26 04:08:25 1999 +0000 +++ b/lisp/textmodes/texinfmt.el Mon Apr 26 04:13:01 1999 +0000 @@ -113,7 +113,8 @@ 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)