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