]> git.eshelyaron.com Git - emacs.git/commitdiff
(outline-font-lock-keywords):
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 03:18:36 +0000 (03:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Sep 1996 03:18:36 +0000 (03:18 +0000)
Treat carriage return like newline.

lisp/textmodes/ooutline.el

index f7710412cacce94101eb0f93a23f699436ee4a90..af053cc32452f2be5003f5d2f654ee170c8ac96c 100644 (file)
@@ -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)