Fix comment fontification

* lisp/org.el (org-set-font-lock-defaults): Fix comment fontification.
This commit is contained in:
Nicolas Goaziou 2012-08-19 10:25:39 +02:00
parent 3ca3b1e693
commit e8046d2f63
1 changed files with 1 additions and 2 deletions

View File

@ -5090,7 +5090,7 @@ The following commands are available:
(org-update-radio-target-regexp)
;; Comments
(org-set-local 'comment-use-syntax nil)
(org-set-local 'comment-start "#")
(org-set-local 'comment-start "# ")
(org-set-local 'comment-start-skip "# ?")
(org-set-local 'comment-insert-comment-function 'org-insert-comment)
(org-set-local 'comment-region-function 'org-comment-or-uncomment-region)
@ -5993,7 +5993,6 @@ needs to be inserted at a specific position in the font-lock sequence.")
org-comment-string "\\|" org-quote-string
"\\)"))
'(2 'org-special-keyword t))
'("^[ \t]*#.*" (0 'font-lock-comment-face t))
;; Blocks and meta lines
'(org-fontify-meta-lines-and-blocks)
)))