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:
parent
889c6ef5d9
commit
2990dcd484
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue