1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/japanese/emacs-manual/files/PORT_TEXIFMT.MK
Steve Price 83aef2804c Update to documentation for version 20.6.
PR:		17790
Submitted by:	maintainer
2000-04-30 20:10:41 +00:00

18 lines
460 B
Makefile

;;; -*- Emacs-Lisp -*-
;;; PORT_TEXIFMT.MK --- for texinfo-format
;;; Code:
(defun port-texinfo-format (file &optional coding-system)
(let (obuf)
(find-file (expand-file-name file))
(setq obuf (current-buffer))
(require 'texinfmt)
(texinfo-format-buffer t)
(if coding-system
(set-buffer-file-coding-system coding-system))
(save-buffer)
(kill-buffer (current-buffer))
(kill-buffer obuf)))
;;; PORT_TEXIFMT.MK ends here