1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(texinfo-format-buffer): Bind coding-system-for-write, to avoid hanging when

non-interactive.
This commit is contained in:
Karl Heuer 1999-04-26 04:13:01 +00:00
parent 889c6ef5d9
commit 2990dcd484

View file

@ -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)