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:
Nicolas Goaziou 2011-11-03 21:23:59 +01:00
parent 4d2a5c97f2
commit 2a58775d9e
1 changed files with 1 additions and 1 deletions

View File

@ -5814,7 +5814,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
(concat "\\("
org-comment-string "\\|" org-quote-string
"\\)"))
'(1 'org-special-keyword t))
'(2 'org-special-keyword t))
'("^#.*" (0 'font-lock-comment-face t))
;; Blocks and meta lines
'(org-fontify-meta-lines-and-blocks)