emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 0b754b36b7 04/11: Move defun to avoid compilati


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 0b754b36b7 04/11: Move defun to avoid compilation error
Date: Tue, 30 Apr 2024 16:00:45 -0400 (EDT)

branch: elpa/hyperdrive
commit 0b754b36b73bfca7d7326f8c8f7871c0283a32fa
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]