diff options
| author | Richard M. Stallman | 1996-09-10 03:18:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-10 03:18:36 +0000 |
| commit | 2729bba00dab00f7bafb145350d6b01b50633a0d (patch) | |
| tree | 95bcaf261587c1194445cf9a33945af71306878a /lisp | |
| parent | 749ae7700e52dceac494785072ba9a199c2d1bc7 (diff) | |
| download | emacs-2729bba00dab00f7bafb145350d6b01b50633a0d.tar.gz emacs-2729bba00dab00f7bafb145350d6b01b50633a0d.zip | |
(outline-font-lock-keywords):
Treat carriage return like newline.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/ooutline.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index f7710412cac..af053cc3245 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el | |||
| @@ -139,7 +139,7 @@ in the file it applies to.") | |||
| 139 | 139 | ||
| 140 | (defvar outline-font-lock-keywords | 140 | (defvar outline-font-lock-keywords |
| 141 | '(;; Highlight headings according to the level. | 141 | '(;; Highlight headings according to the level. |
| 142 | ("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$" | 142 | ("^\\([*]+\\)[ \t]*\\([^\n\r]+\\)?[ \t]*[\n\r]" |
| 143 | (1 font-lock-string-face) | 143 | (1 font-lock-string-face) |
| 144 | (2 (let ((len (- (match-end 1) (match-beginning 1)))) | 144 | (2 (let ((len (- (match-end 1) (match-beginning 1)))) |
| 145 | (or (cdr (assq len '((1 . font-lock-function-name-face) | 145 | (or (cdr (assq len '((1 . font-lock-function-name-face) |