Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(org): update load, declare-function #848

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions citar-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@

(require 'citar)
(require 'org)
(require 'org-element)
(if (not (require 'org-element-ast nil t))
;; they moved the functions we need to this file
;; if it's not present, fallback to the old one
(require 'org-element))
(require 'org-id)
(require 'oc)
(require 'oc-basic)
(require 'oc-csl)

(declare-function org-open-at-point "org")
(declare-function org-element-property "org-element")
(declare-function org-element-type "org-element")
;; we need to account for the move of these functions to a different file
(declare-function org-element-property nil)
(declare-function org-element-type nil)

(declare-function org-cite-make-insert-processor "oc")
(declare-function org-cite-get-references "oc")
(declare-function embark-act "ext:embark")
Expand Down
Loading