From c79c5767d3006ca2d89c0cae552f6ec1b892509b 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 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))