summaryrefslogtreecommitdiff
path: root/lisp/textmodes/texinfmt.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-08-16 03:17:09 +0000
committerKarl Heuer <kwzh@gnu.org>1999-08-16 03:17:09 +0000
commit7220ca11af9b20616e893e8d16dd6f77ac488bee (patch)
tree63b64b9b9c31520916330b0966f3802605b35338 /lisp/textmodes/texinfmt.el
parentfe44bc6d35140096916c8524613b6fb6f711d0ce (diff)
downloademacs-7220ca11af9b20616e893e8d16dd6f77ac488bee.tar.gz
emacs-7220ca11af9b20616e893e8d16dd6f77ac488bee.tar.bz2
emacs-7220ca11af9b20616e893e8d16dd6f77ac488bee.zip
Handle @ifnottex.
Diffstat (limited to 'lisp/textmodes/texinfmt.el')
-rw-r--r--lisp/textmodes/texinfmt.el5
1 files changed, 4 insertions, 1 deletions
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