branch: elpa/hyperdrive-org-transclusion commit 82afb0d912e723e09a5bd47469800e145993531b Author: Adam Porter <a...@alphapapa.net> Commit: Joseph Turner <jos...@ushin.org>
Tidy: Declare a few functions in hyperdrive-org-transclusion.el --- hyperdrive-org-transclusion.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hyperdrive-org-transclusion.el b/hyperdrive-org-transclusion.el index 68e1e22433..be178956d1 100644 --- a/hyperdrive-org-transclusion.el +++ b/hyperdrive-org-transclusion.el @@ -66,7 +66,8 @@ Return `hyperdrive-org-transclusion-add-file' when transclusion link is a hyperdrive link. Otherwise, return nil. Intended to be added to `org-transclusion-add-functions', which see for descriptions of arguments LINK and PLIST." - (declare-function hyperdrive-org-transclusion-add-file "hyperdrive-org") + (declare-function hyperdrive-org-transclusion-add-file + "hyperdrive-org-transclusion") (and (or (string= "hyper" (org-element-property :type link)) (and hyperdrive-mode (hyperdrive-org--element-entry link))) @@ -74,14 +75,15 @@ see for descriptions of arguments LINK and PLIST." (point) (org-current-line)) #'hyperdrive-org-transclusion-add-file)) - (declare-function hyperdrive-org-transclusion-add "org-transclusion") + (declare-function hyperdrive-org-transclusion-add "hyperdrive-org-transclusion") (add-hook 'org-transclusion-add-functions #'hyperdrive-org-transclusion-add) (defun hyperdrive-org-transclusion-add-file (link plist copy) "Load hyperdrive file at LINK. Then call `org-transclusion-add-payload' with PAYLOAD, LINK, PLIST, COPY." - (declare-function hyperdrive-org-transclusion-error-handler "hyperdrive-org") + (declare-function hyperdrive-org-transclusion-error-handler + "hyperdrive-org-transclusion") (declare-function org-transclusion-org-file-p "org-transclusion") (declare-function org-transclusion-add-payload "org-transclusion") (declare-function org-transclusion-content-org-buffer-or-element