diff --git a/lisp/org.el b/lisp/org.el index ba8d1446f..046a19492 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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))