# HG changeset patch # User Richard M. Stallman # Date 842325516 0 # Node ID 15cb7a0da3e06c084914bf0627897a17a40fd36b # Parent a649abfefbb145f41ae8208d7faa13141a29a507 (outline-font-lock-keywords): Treat carriage return like newline. diff -r a649abfefbb1 -r 15cb7a0da3e0 lisp/textmodes/ooutline.el --- a/lisp/textmodes/ooutline.el Tue Sep 10 02:00:27 1996 +0000 +++ b/lisp/textmodes/ooutline.el Tue Sep 10 03:18:36 1996 +0000 @@ -139,7 +139,7 @@ (defvar outline-font-lock-keywords '(;; Highlight headings according to the level. - ("^\\(\\*+\\)[ \t]*\\(.+\\)?[ \t]*$" + ("^\\([*]+\\)[ \t]*\\([^\n\r]+\\)?[ \t]*[\n\r]" (1 font-lock-string-face) (2 (let ((len (- (match-end 1) (match-beginning 1)))) (or (cdr (assq len '((1 . font-lock-function-name-face)