changeset 16147:15cb7a0da3e0

(outline-font-lock-keywords): Treat carriage return like newline.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 03:18:36 +0000
parents a649abfefbb1
children 8ca583c0b988
files lisp/textmodes/ooutline.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)