* WL-MK (wl-texinfo-format-file): require ptexinfmt.
* utils/ptexinfmt.el: provide feature.
+ (documentlanguage, documentencoding): Fixed probrem.
2000-07-13 TAKAHASHI Kaoru <kaoru@kaisei.org>
(or (file-newer-than-file-p (expand-file-name infofile DOCDIR)
(expand-file-name texifile DOCDIR))
(let (obuf beg)
- (find-file (expand-file-name texifile DOCDIR))
- (setq obuf (current-buffer))
;; Support old texinfmt.el
(require 'ptexinfmt (expand-file-name "ptexinfmt.el" UTILSDIR))
+ (find-file (expand-file-name texifile DOCDIR))
+ (setq obuf (current-buffer))
;; We can't know file names if splitted.
(texinfo-format-buffer t)
;; Emacs20.2's default is 'raw-text-unix.
(texinfo-discard-command))))
;;; misc.
-(put 'documentlanguage 'texinfo-format 'texinfo-discard-line)
-(put 'documentencoding 'texinfo-format 'texinfo-discard-line)
+(put 'documentlanguage 'texinfo-format 'texinfo-discard-line-with-args)
+(put 'documentencoding 'texinfo-format 'texinfo-discard-line-with-args)
(put 'smallbook 'texinfo-format 'texinfo-discard-line)
(put 'overfullrule 'texinfo-format 'texinfo-discard-line)
(put 'smallbreak 'texinfo-format 'texinfo-discard-line)