Require oc-biblatex' and
oc-csl' only when needed
This commit is contained in:
parent
0e94518c32
commit
79d60eab4c
@ -2306,8 +2306,9 @@ configuration.
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(with-eval-after-load 'oc
|
(with-eval-after-load 'oc
|
||||||
;; Org-9.5 needs the requirements, but Org-9.6 does not.
|
;; Org-9.5 needs the requirements, but Org-9.6 does not.
|
||||||
|
(when (version< (org-version) "9.5.99")
|
||||||
(require 'oc-biblatex)
|
(require 'oc-biblatex)
|
||||||
(require 'oc-csl))
|
(require 'oc-csl)))
|
||||||
|
|
||||||
(with-eval-after-load 'org
|
(with-eval-after-load 'org
|
||||||
(define-key org-mode-map (kbd "C-c b") #'org-cite-insert))
|
(define-key org-mode-map (kbd "C-c b") #'org-cite-insert))
|
||||||
|
Loading…
Reference in New Issue
Block a user