Commit 92819e90 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(texinfo-section-list): Change majorheading to 2.

(texinfo-font-lock-syntactic-keywords): Use syntax-strings.
parent d3a67486
......@@ -244,7 +244,7 @@ chapter."
(defvar texinfo-section-list
'(("top" 1)
("majorheading" 1)
("majorheading" 2)
("chapter" 2)
("unnumbered" 2)
("appendix" 2)
......@@ -290,9 +290,9 @@ chapter."
"Imenu generic expression for TexInfo mode. See `imenu-generic-expression'.")
(defvar texinfo-font-lock-syntactic-keywords
'(("\\(@\\)c\\(omment\\)?\\>" (1 '(11)))
("^\\(@\\)ignore\\>" (1 '(2097163)))
("^@end ignore\\(\n\\)" (1 '(2097164))))
'(("\\(@\\)c\\(omment\\)?\\>" (1 "<"))
("^\\(@\\)ignore\\>" (1 "< b"))
("^@end ignore\\(\n\\)" (1 "> b")))
"Syntactic keywords to catch comment delimiters in `texinfo-mode'.")
(defface texinfo-heading-face
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment