summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-05-16 23:07:59 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-07-09 08:47:14 +0200
commit524d8fe4c1c758e868f236cb1da115a77683380a (patch)
tree0618a8a79b2a2d380c9109669db6cbf999e5c4a2
parenta20a3ad5f11f85af73c15ac153dd2e945a79df93 (diff)
downloadorg-mode-524d8fe4c1c758e868f236cb1da115a77683380a.tar.gz
Plug citations into fontification process
-rw-r--r--lisp/org.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 9548155..1524dca 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -94,6 +94,7 @@
(require 'org-compat)
(require 'org-keys)
(require 'ol)
+(require 'oc)
(require 'org-table)
;; `org-outline-regexp' ought to be a defconst but is let-bound in
@@ -5765,7 +5766,9 @@ needs to be inserted at a specific position in the font-lock sequence.")
org-comment-string)
'(9 'org-special-keyword t))
;; Blocks and meta lines
- '(org-fontify-meta-lines-and-blocks))))
+ '(org-fontify-meta-lines-and-blocks)
+ ;; Citations
+ '(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