(texinfo-environment-regexp): Add the def... constructs.
This commit is contained in:
parent
474d71ae8b
commit
e2918bbf0f
1 changed files with 40 additions and 26 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue