diff options
| author | Karl Berry | 2004-01-19 15:18:01 +0000 |
|---|---|---|
| committer | Karl Berry | 2004-01-19 15:18:01 +0000 |
| commit | 4e9957bd03902596ba01288e815101f92dbc4920 (patch) | |
| tree | cee5954c636b747bffb748fb5f01e31b341b8dc1 | |
| parent | ba0290651f1b5750b6ffc58807eb212cf6cda047 (diff) | |
| download | emacs-4e9957bd03902596ba01288e815101f92dbc4920.tar.gz emacs-4e9957bd03902596ba01288e815101f92dbc4920.zip | |
(texinfo-mode): define outline-regexp to start
with ^, since that's what texinfo-show-structure
documentation says (plus it works much better in texinfo.txi).
| -rw-r--r-- | lisp/textmodes/texinfo.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 25670e8c310..0db3509eb4d 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; texinfo.el --- major mode for editing Texinfo files | 1 | ;;; texinfo.el --- major mode for editing Texinfo files |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985,88,89,90,91,92,93,96,97,2000,01,03 | 3 | ;; Copyright (C) 1985,88,89,90,91,92,93,96,97,2000,01,03, 04 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Robert J. Chassell | 6 | ;; Author: Robert J. Chassell |
| @@ -616,7 +616,7 @@ value of `texinfo-mode-hook'." | |||
| 616 | (mapcar (lambda (x) (cons (concat "@" (car x)) (cadr x))) | 616 | (mapcar (lambda (x) (cons (concat "@" (car x)) (cadr x))) |
| 617 | texinfo-section-list)) | 617 | texinfo-section-list)) |
| 618 | (set (make-local-variable 'outline-regexp) | 618 | (set (make-local-variable 'outline-regexp) |
| 619 | (concat (regexp-opt (mapcar 'car outline-heading-alist) t) | 619 | (concat "^" (regexp-opt (mapcar 'car outline-heading-alist) t) |
| 620 | "\\>")) | 620 | "\\>")) |
| 621 | 621 | ||
| 622 | (make-local-variable 'tex-start-of-header) | 622 | (make-local-variable 'tex-start-of-header) |