summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2011-11-03 21:23:59 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2011-11-03 21:23:59 +0100
commit2a58775d9e5532c9648d9ac74bb6d62c0ce429b9 (patch)
tree289e10e4343f09ec371cc96b90e0e4d8476d7ca0
parent4d2a5c97f23d5ecc463318d6fcf38e6adb06962a (diff)
downloadorg-mode-2a58775d9e5532c9648d9ac74bb6d62c0ce429b9.tar.gz
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.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 2429f80..92ced78 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)