# HG changeset patch # User Richard M. Stallman # Date 918520457 0 # Node ID 8a8bc81dd902ab2db2354612ba83eec2c9af91d9 # Parent c8a762e57cf689022d35541d7b309f7f00fcc41c (texinfo-environment-regexp): Add the def... constructs. diff -r c8a762e57cf6 -r 8a8bc81dd902 lisp/textmodes/texinfo.el --- a/lisp/textmodes/texinfo.el Mon Feb 08 23:50:42 1999 +0000 +++ b/lisp/textmodes/texinfo.el Tue Feb 09 00:34:17 1999 +0000 @@ -541,32 +541,46 @@ ;; 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.")