0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 19:37:52 +00:00

org.el: Fix `org-comment-string' fontification

* org.el (org-set-font-lock-defaults): Don't fontify
`org-comment-string' when not in a headline.
This commit is contained in:
Bastien 2015-08-16 15:14:27 +02:00
parent d3fd2d04ba
commit c27c101fa3

View file

@ -6365,7 +6365,6 @@ needs to be inserted at a specific position in the font-lock sequence.")
":\\).*$") ":\\).*$")
'(1 'org-tag-group prepend))) '(1 'org-tag-group prepend)))
;; Special keywords ;; Special keywords
(list (concat "\\<" org-comment-string) '(0 'org-special-keyword t))
(list (concat "\\<" org-deadline-string) '(0 'org-special-keyword t)) (list (concat "\\<" org-deadline-string) '(0 'org-special-keyword t))
(list (concat "\\<" org-scheduled-string) '(0 'org-special-keyword t)) (list (concat "\\<" org-scheduled-string) '(0 'org-special-keyword t))
(list (concat "\\<" org-closed-string) '(0 'org-special-keyword t)) (list (concat "\\<" org-closed-string) '(0 'org-special-keyword t))