Commit 2729bba0 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(outline-font-lock-keywords):

Treat carriage return like newline.
parent 749ae770
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment