forked from mirrors/org-mode
Correctly fontify headlines with special keywords
* lisp/org.el (org-set-font-lock-defaults): Fix small error in matching group that prevented fontification of keywords like org-comment-string and stars in headlines.
This commit is contained in:
parent
4d2a5c97f2
commit
2a58775d9e
|
@ -5814,7 +5814,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
||||||
(concat "\\("
|
(concat "\\("
|
||||||
org-comment-string "\\|" org-quote-string
|
org-comment-string "\\|" org-quote-string
|
||||||
"\\)"))
|
"\\)"))
|
||||||
'(1 'org-special-keyword t))
|
'(2 'org-special-keyword t))
|
||||||
'("^#.*" (0 'font-lock-comment-face t))
|
'("^#.*" (0 'font-lock-comment-face t))
|
||||||
;; Blocks and meta lines
|
;; Blocks and meta lines
|
||||||
'(org-fontify-meta-lines-and-blocks)
|
'(org-fontify-meta-lines-and-blocks)
|
||||||
|
|
Loading…
Reference in New Issue