From d19a347a8b9ac65dd1fd8aaeaae91d23b7755f3e Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 20 Jan 2012 16:44:25 +0100 Subject: [PATCH] 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. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 50ee688b7..67ea52b50 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)) -- 2.11.4.GIT