0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 08:19:03 +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 aa321a3ed5
commit d19a347a8b

View file

@ -5792,7 +5792,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))