branch: elpa/hyperdrive
commit 0b754b36b73bfca7d7326f8c8f7871c0283a32fa
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Move defun to avoid compilation error
---
hyperdrive-lib.el | 4 ++++
hyperdrive-org.el | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index a0ea414b5e..ed4c3a6a1d 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1702,6 +1702,10 @@ Unless PATH starts with \"/\" \"./\" or \"../\", add
\"./\"."
path
(concat "./" path)))
+(defun h/org-filename-p (path)
+ "Return non-nil when PATH is an Org file."
+ (string-suffix-p ".org" path))
+
(provide 'hyperdrive-lib)
;; Local Variables:
diff --git a/hyperdrive-org.el b/hyperdrive-org.el
index 844291afe8..3ca0327387 100644
--- a/hyperdrive-org.el
+++ b/hyperdrive-org.el
@@ -227,10 +227,6 @@ Respects `hyperdrive-org-link-full-url' and
`org-link-file-path-type'."
;; after `hyperdrive' is loaded so that `hyperdrive-mode' will be defined.
(cl-pushnew #'hyperdrive-org--open-at-point org-open-at-point-functions)))
-(defun h/org-filename-p (path)
- "Return non-nil when PATH is an Org file."
- (string-suffix-p ".org" path))
-
;;;; Footer
(provide 'hyperdrive-org)