diff options
| author | Stefan Monnier | 2000-11-06 14:44:17 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-11-06 14:44:17 +0000 |
| commit | 92819e90bb12d73429f97126cbcccaac7f230243 (patch) | |
| tree | 9d2b1417b6c8a14bff49a080b44715755c90fc2c | |
| parent | d3a67486af4a57469747994c020e93a8897ac49b (diff) | |
| download | emacs-92819e90bb12d73429f97126cbcccaac7f230243.tar.gz emacs-92819e90bb12d73429f97126cbcccaac7f230243.zip | |
(texinfo-section-list): Change majorheading to 2.
(texinfo-font-lock-syntactic-keywords): Use syntax-strings.
| -rw-r--r-- | lisp/textmodes/texinfo.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 712597ad1e9..596ad94814f 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -244,7 +244,7 @@ chapter." | |||
| 244 | 244 | ||
| 245 | (defvar texinfo-section-list | 245 | (defvar texinfo-section-list |
| 246 | '(("top" 1) | 246 | '(("top" 1) |
| 247 | ("majorheading" 1) | 247 | ("majorheading" 2) |
| 248 | ("chapter" 2) | 248 | ("chapter" 2) |
| 249 | ("unnumbered" 2) | 249 | ("unnumbered" 2) |
| 250 | ("appendix" 2) | 250 | ("appendix" 2) |
| @@ -290,9 +290,9 @@ chapter." | |||
| 290 | "Imenu generic expression for TexInfo mode. See `imenu-generic-expression'.") | 290 | "Imenu generic expression for TexInfo mode. See `imenu-generic-expression'.") |
| 291 | 291 | ||
| 292 | (defvar texinfo-font-lock-syntactic-keywords | 292 | (defvar texinfo-font-lock-syntactic-keywords |
| 293 | '(("\\(@\\)c\\(omment\\)?\\>" (1 '(11))) | 293 | '(("\\(@\\)c\\(omment\\)?\\>" (1 "<")) |
| 294 | ("^\\(@\\)ignore\\>" (1 '(2097163))) | 294 | ("^\\(@\\)ignore\\>" (1 "< b")) |
| 295 | ("^@end ignore\\(\n\\)" (1 '(2097164)))) | 295 | ("^@end ignore\\(\n\\)" (1 "> b"))) |
| 296 | "Syntactic keywords to catch comment delimiters in `texinfo-mode'.") | 296 | "Syntactic keywords to catch comment delimiters in `texinfo-mode'.") |
| 297 | 297 | ||
| 298 | (defface texinfo-heading-face | 298 | (defface texinfo-heading-face |