summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-10 03:18:36 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-10 03:18:36 +0000
commitaed934f06e49fd6736e1569ac24fd276a482922a (patch)
tree7912d61f7f1cd9db0e7ece4fbef93ecaaaf64ea6
parentfcc8ef055aa598f549e7f022a2f92d6fa4dc13ec (diff)
downloademacs-aed934f06e49fd6736e1569ac24fd276a482922a.tar.gz
(outline-font-lock-keywords):
Treat carriage return like newline.
-rw-r--r--lisp/textmodes/ooutline.el2
1 files changed, 1 insertions, 1 deletions
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)