From: Richard M. Stallman Date: Tue, 10 Sep 1996 03:18:36 +0000 (+0000) Subject: (outline-font-lock-keywords): X-Git-Tag: emacs-20.1~3797 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2729bba00dab00f7bafb145350d6b01b50633a0d;p=emacs.git (outline-font-lock-keywords): Treat carriage return like newline. --- 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.") (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)