diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-23 22:45:27 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-08-23 22:45:27 +0200 |
commit | 9c5588377f2b954e389f0da70c1dcc5afffdb96a (patch) | |
tree | a7c103f39d6c86ac4d267f6d5be9f394dbdb2eae | |
parent | 983170c0bc28c763e433edad68fbad014dafc66a (diff) | |
download | org-mode-9c5588377f2b954e389f0da70c1dcc5afffdb96a.tar.gz |
Fix COMMENT fontification
* lisp/org.el (org-set-font-lock-defaults): Fix regexp.
Reported-by: Martin Carlé <mc@aiguphonie.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/100404>
-rwxr-xr-x | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index a323582..ed93ef9 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -6396,7 +6396,7 @@ needs to be inserted at a specific position in the font-lock sequence.") '(org-activate-code (1 'org-code t)) ;; COMMENT (list (format - "^\\*\\(?: +%s\\)?\\(?: +\\[#[A-Z0-9]\\]\\)? +\\(?9:%s\\)\\(?: \\|$\\)" + "^\\*+\\(?: +%s\\)?\\(?: +\\[#[A-Z0-9]\\]\\)? +\\(?9:%s\\)\\(?: \\|$\\)" org-todo-regexp org-comment-string) '(9 'org-special-keyword t)) |