aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-10 06:39:04 +0000
committerRichard M. Stallman1994-05-10 06:39:04 +0000
commita1017d39167a99493197dfc08598605a0acd2175 (patch)
tree404f115b1f7a8e0b3cb5de64c49d585d9216d6bd /lisp
parentf01de0db5ae7b1098ce8f74b10205a7fb754e9e8 (diff)
downloademacs-a1017d39167a99493197dfc08598605a0acd2175.tar.gz
emacs-a1017d39167a99493197dfc08598605a0acd2175.zip
(texinfo-environment-regexp): Split lines.
Add def..., ifset, ifclear. (texinfo-show-structure): Fix typo.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/texinfo.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index a3cc2defdf3..b949eb26714 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -381,8 +381,11 @@ value of texinfo-mode-hook."
381;;; Insert string commands 381;;; Insert string commands
382 382
383(defconst texinfo-environment-regexp 383(defconst texinfo-environment-regexp
384 "^@\\(f?table\\|enumerate\\|itemize\\|ifinfo\\|iftex\\|example\\|quotation\\|lisp\\|smallexample\\|smalllisp\\|display\\|format\\|flushleft\\|flushright\\|ignore\\|group\\|tex\\|cartouche\\|end\\)" 384 "^@\\(f?table\\|enumerate\\|itemize\\|ifinfo\\|iftex\\|ifset\\|ifclear\
385 "Regexp for environment-like TexInfo list commands. 385\\|example\\|quotation\\|lisp\\|smallexample\\|smalllisp\\|display\\|format\
386\\|flushleft\\|flushright\\|ignore\\|group\\|tex\\|cartouche\\|end\
387\\|def[a-z]*\\)"
388 "Regexp for environment-like Texinfo list commands.
386Subexpression 1 is what goes into the corresponding `@end' statement.") 389Subexpression 1 is what goes into the corresponding `@end' statement.")
387 390
388;; The following texinfo-insert-@end command not only inserts a SPC 391;; The following texinfo-insert-@end command not only inserts a SPC
@@ -568,7 +571,7 @@ to jump to the corresponding spot in the Texinfo source file."
568 ;; ((looking-at "@subheading ") 13) 571 ;; ((looking-at "@subheading ") 13)
569 572
570 ((looking-at 573 ((looking-at
571 (concat "@\\(" texinfo-subsection-level-regexp "\\)")) 13) 574 (concat "@\\(" texinfo-subsubsection-level-regexp "\\)")) 13)
572 ;; ((looking-at "@subsubsection ") 17) 575 ;; ((looking-at "@subsubsection ") 17)
573 ;; ((looking-at "@unnumberedsubsubsec ") 17) 576 ;; ((looking-at "@unnumberedsubsubsec ") 17)
574 ;; ((looking-at "@appendixsubsubsec ") 17) 577 ;; ((looking-at "@appendixsubsubsec ") 17)