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:
parent
fd233c0491
commit
c79c5767d3
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user