1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-30 08:08:26 +00:00

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

View File

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