diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-11-03 21:23:59 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-11-03 21:23:59 +0100 |
commit | 2a58775d9e5532c9648d9ac74bb6d62c0ce429b9 (patch) | |
tree | 289e10e4343f09ec371cc96b90e0e4d8476d7ca0 | |
parent | 4d2a5c97f23d5ecc463318d6fcf38e6adb06962a (diff) | |
download | org-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.el | 2 |
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) |