diff options
| author | Richard M. Stallman <rms@gnu.org> | 1999-02-09 00:34:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1999-02-09 00:34:17 +0000 |
| commit | e2918bbf0fb56d6e9846eec19eb855d582ecbd8c (patch) | |
| tree | a75b87ffa314feb05d68b39e579074c6de93bd8f /lisp | |
| parent | 474d71ae8bced887080c897e9690f621e4840cca (diff) | |
| download | emacs-e2918bbf0fb56d6e9846eec19eb855d582ecbd8c.tar.gz | |
(texinfo-environment-regexp): Add the def... constructs.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/texinfo.el | 66 |
1 files changed, 40 insertions, 26 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 40e77cf8bb7..f42663c9faf 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -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.") |
