(texinfo-environment-regexp): Add the def... constructs.

This commit is contained in:
Richard M. Stallman 1999-02-09 00:34:17 +00:00
parent 474d71ae8b
commit e2918bbf0f

View file

@ -541,32 +541,46 @@ value of texinfo-mode-hook."
;; Keep as concatinated lists for ease of maintenance
(defconst texinfo-environment-regexp
(concat
"^@"
"\\("
"cartouche\\|"
"display\\|"
"end\\|"
"enumerate\\|"
"example\\|"
"f?table\\|"
"flushleft\\|"
"flushright\\|"
"format\\|"
"group\\|"
"ifhtml\\|"
"ifinfo\\|"
"iftex\\|"
"ignore\\|"
"itemize\\|"
"lisp\\|"
"macro\\|"
"multitable\\|"
"quotation\\|"
"smalldisplay\\|"
"smallexample\\|"
"smallformat\\|"
"smalllisp\\|"
"tex"
"^@\\("
(mapconcat 'identity
'("cartouche"
"display"
"end"
"enumerate"
"example"
"deffn"
"defun"
"defmac"
"defspec"
"defva?r"
"defopt"
"deftypefu?n"
"deftypeva?r"
"defcv"
"defivar"
"defop"
"defmethod"
"deftp"
"f?table"
"flushleft"
"flushright"
"format"
"group"
"ifhtml"
"ifinfo"
"iftex"
"ignore"
"itemize"
"lisp"
"macro"
"multitable"
"quotation"
"smalldisplay"
"smallexample"
"smallformat"
"smalllisp"
"tex")
"\\|")
"\\)")
"Regexp for environment-like TexInfo list commands.
Subexpression 1 is what goes into the corresponding `@end' statement.")