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

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

[nongnu] elpa/hyperdrive 27d352dda2 70/82: Comment: Remove TODO


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 27d352dda2 70/82: Comment: Remove TODO
Date: Mon, 25 Sep 2023 19:00:55 -0400 (EDT)

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

    Comment: Remove TODO
---
 hyperdrive-org.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hyperdrive-org.el b/hyperdrive-org.el
index 33657b5361..21d9f5b51e 100644
--- a/hyperdrive-org.el
+++ b/hyperdrive-org.el
@@ -141,9 +141,7 @@ the logic for handling links of \"file\" type.
 Uses `url-default-expander' to expand the relative link against
 the current location."
   (when hyperdrive-mode
-    (let* ((context
-            ;; TODO: Double-check that this is the correct way to get context.
-            (org-element-lineage (org-element-context) '(link) t))
+    (let* ((context (org-element-lineage (org-element-context) '(link) t))
            (element-type (org-element-type context))
            (link-type (org-element-property :type context))
            (raw-link-type (org-element-property :raw-link context)))



reply via email to

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