From 7220ca11af9b20616e893e8d16dd6f77ac488bee Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 16 Aug 1999 03:17:09 +0000 Subject: [PATCH] Handle @ifnottex. --- lisp/textmodes/texinfmt.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index aeaa835d6db..674f0433366 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -2111,7 +2111,7 @@ This command is executed when texinfmt sees @item inside @multitable." (setq fill-column existing-fill-column))) -;;; @ifinfo, @iftex, @tex, @ifhtml, @html +;;; @ifinfo, @iftex, @tex, @ifhtml, @html, @ifnottex (put 'ifinfo 'texinfo-format 'texinfo-discard-line) (put 'ifinfo 'texinfo-end 'texinfo-discard-command) @@ -2140,6 +2140,9 @@ This command is executed when texinfmt sees @item inside @multitable." (progn (re-search-forward "@end html[ \t]*\n") (point)))) +(put 'ifnottex 'texinfo-format 'texinfo-discard-line) +(put 'ifnottex 'texinfo-end 'texinfo-discard-command) + ;;; @titlepage -- 2.39.5