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

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

[nongnu] elpa/hyperdrive-org-transclusion 6e6f3f287a 03/38: Tidy: Rename


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive-org-transclusion 6e6f3f287a 03/38: Tidy: Rename h/org-transclusion-add
Date: Mon, 23 Sep 2024 04:01:30 -0400 (EDT)

branch: elpa/hyperdrive-org-transclusion
commit 6e6f3f287a9a621ddd867c59824fc8b00ef17ffa
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Tidy: Rename h/org-transclusion-add
---
 hyperdrive-org-transclusion.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hyperdrive-org-transclusion.el b/hyperdrive-org-transclusion.el
index 39a19b8806..a999ed1f66 100644
--- a/hyperdrive-org-transclusion.el
+++ b/hyperdrive-org-transclusion.el
@@ -36,7 +36,7 @@
 
 ;;;; Functions
 
-(defun h/org-transclusion-add-file (link _plist)
+(defun h/org-transclusion-add (link _plist)
   "Return callback function when hyperdrive transclusion is appropriate.
 Otherwise, return nil.  Intended to be added to
 `org-transclusion-add-functions', which see for descriptions of
@@ -48,7 +48,7 @@ arguments LINK and PLIST."
                   (point) (org-current-line))
        #'h/org-transclusion-add-callback))
 
-(add-hook 'org-transclusion-add-functions #'h/org-transclusion-add-file)
+(add-hook 'org-transclusion-add-functions #'h/org-transclusion-add)
 
 ;; TODO: Consider excluding the modifications to a hyperdrive file buffer.
 ;;       Should only saved hyperdrive files be transcluded?
@@ -56,7 +56,7 @@ arguments LINK and PLIST."
 ;; TODO: hyperdrive directories?  (skip loading metadata?)
 
 ;; TODO: When `org-transclusion-add-src-lines' is pushed onto
-;; `org-transclusion-add-functions' after `h/org-transclusion-add-file', then 
an
+;; `org-transclusion-add-functions' after `h/org-transclusion-add', then an
 ;; error is signaled for hyperdrive transclusions with specified :lines (also
 ;; doesn't work with relative transclusion):
 ;; #+transclude: 
[[hyper://sw8dj5y9cs5nb8dzq1h9tbjt3b4u3sci6wfeckbsch9w3q7amipy/item2.org]]  
:lines 1-10



reply via email to

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