texinfmt fails to format Emacs 20.6 manual. The fragment of
manual it fails is @ref{,Emacs Lisp,, elisp, The Emacs Lisp
Reference Manual}. The patch is against Emacs 20.6.
2000-04-26 Yoshiki Hayashi <[EMAIL PROTECTED]>
* textmodes/texinfmt.el (texinfo-format-xref):
Don't try to insert nil.
*** texinfmt.el~ Sun May 30 04:21:06 1999
--- texinfmt.el Wed Apr 26 15:26:51 2000
***************
*** 1212,1218 ****
(insert (or fname (car args)) ": ")
(if (nth 3 args)
(insert "(" (nth 3 args) ")"))
! (insert (car args))))))
(put 'pxref 'texinfo-format 'texinfo-format-pxref)
(defun texinfo-format-pxref ()
--- 1212,1218 ----
(insert (or fname (car args)) ": ")
(if (nth 3 args)
(insert "(" (nth 3 args) ")"))
! (and (car args) (insert (car args)))))))
(put 'pxref 'texinfo-format 'texinfo-format-pxref)
(defun texinfo-format-pxref ()
--
Yoshiki Hayashi