org: Try loading activate processor when initializing fontification
* lisp/org.el (org-set-font-lock-defaults): Try registering activate processor if appropriate.
This commit is contained in:
parent
e83a04b5af
commit
eaa7817b31
|
@ -5786,8 +5786,12 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
|||
;; Blocks and meta lines
|
||||
'(org-fontify-meta-lines-and-blocks)
|
||||
'(org-fontify-inline-src-blocks)
|
||||
;; Citations
|
||||
'(org-cite-activate))))
|
||||
;; Citations. When an activate processor is specified, if
|
||||
;; specified, try loading it beforehand.
|
||||
(progn
|
||||
(unless (null org-cite-activate-processor)
|
||||
(org-cite-try-load-processor org-cite-activate-processor))
|
||||
'(org-cite-activate)))))
|
||||
(setq org-font-lock-extra-keywords (delq nil org-font-lock-extra-keywords))
|
||||
(run-hooks 'org-font-lock-set-keywords-hook)
|
||||
;; Now set the full font-lock-keywords
|
||||
|
|
Loading…
Reference in New Issue