diff options
Diffstat (limited to 'japanese/emacs-manual/files/PORT_TEXIFMT.MK')
-rw-r--r-- | japanese/emacs-manual/files/PORT_TEXIFMT.MK | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/japanese/emacs-manual/files/PORT_TEXIFMT.MK b/japanese/emacs-manual/files/PORT_TEXIFMT.MK new file mode 100644 index 000000000000..9443db0cbd56 --- /dev/null +++ b/japanese/emacs-manual/files/PORT_TEXIFMT.MK @@ -0,0 +1,16 @@ +;;; -*- Emacs-Lisp -*- +;;; PORT_TEXIFMT.MK --- for texinfo-format +;;; Code: + +(defun port-texinfo-format () + (let (obuf) + (find-file (expand-file-name PORT-TEXI)) + (setq obuf (current-buffer)) + (require 'texinfmt) + (texinfo-format-buffer t) + (set-buffer-file-coding-system 'iso-2022-jp) + (save-buffer) + (kill-buffer (current-buffer)) + (kill-buffer obuf))) + +;;; PORT_TEXIFMT.MK ends here |