+2001-10-28 Masayuki Ataka <ataka@milk.freemail.ne.jp>
+
+ * textmodes/texinfmt.el (texinfo-format-ifnotinfo): New function.
+ (ifnothtml): New alias.
+
2001-10-27 Stefan Monnier <monnier@cs.yale.edu>
* mail/sendmail.el (mail-mode): Fix ordering in adaptive-fill-regexp.
(setq fill-column existing-fill-column)))
\f
-;;; @ifinfo, @iftex, @tex, @ifhtml, @html, @ifnottex
+;;; @ifinfo, @iftex, @tex, @ifhtml, @html, @ifnottex, @ifnotinfo, @ifnothtml
(put 'ifinfo 'texinfo-format 'texinfo-discard-line)
(put 'ifinfo 'texinfo-end 'texinfo-discard-command)
(progn (re-search-forward "@end html[ \t]*\n")
(point))))
+(put 'ifnotinfo 'texinfo-format 'texinfo-format-ifnotinfo)
+(defun texinfo-format-ifnotinfo ()
+ (delete-region texinfo-command-start
+ (progn (re-search-forward "@end ifnotinfo[ \t]*\n")
+ (point))))
+
(put 'ifnottex 'texinfo-format 'texinfo-discard-line)
(put 'ifnottex 'texinfo-end 'texinfo-discard-command)
+(put 'ifnothtml 'texinfo-format 'texinfo-discard-line)
+(put 'ifnothtml 'texinfo-end 'texinfo-discard-command)
+
\f
;;; @titlepage