org.el: Fix bug in done headline fontification.

* org.el (org-set-font-lock-defaults): Fix bug in done
headline fontification.

Thanks to Brian J. Carlson for pointing this error and
a solution.
This commit is contained in:
Bastien Guerry 2012-01-20 16:44:25 +01:00
parent fd233c0491
commit c79c5767d3
1 changed files with 1 additions and 1 deletions

View File

@ -5793,7 +5793,7 @@ needs to be inserted at a specific position in the font-lock sequence.")
(if org-fontify-done-headline
(list (format org-heading-keyword-regexp-format
(concat
"\\("
"\\(?:"
(mapconcat 'regexp-quote org-done-keywords "\\|")
"\\)"))
'(2 'org-headline-done t))