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

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

[nongnu] elpa/hyperdrive f1bb94bb83 66/82: Change: (hyperdrive-org-link-


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive f1bb94bb83 66/82: Change: (hyperdrive-org-link-follow) Don't jump to ID target
Date: Mon, 25 Sep 2023 19:00:55 -0400 (EDT)

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

    Change: (hyperdrive-org-link-follow) Don't jump to ID target
---
 hyperdrive-org.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hyperdrive-org.el b/hyperdrive-org.el
index b58a58464a..4ddb825089 100644
--- a/hyperdrive-org.el
+++ b/hyperdrive-org.el
@@ -116,13 +116,12 @@ raw URL, not an Org link."
 
 (defun hyperdrive--org-link-goto (target)
   "Go to TARGET in current Org buffer.
-TARGET may be a CUSTOM_ID, an ID, or a headline."
+TARGET may be a CUSTOM_ID or a headline."
   (cl-assert (eq 'org-mode major-mode))
   ;; We do not ensure that a target only exists once in the file, but
   ;; neither does Org always do so.
   (setf target (url-unhex-string target))
   (goto-char (or (org-find-property "CUSTOM_ID" target)
-                 (org-find-property "ID" target)
                  (org-find-exact-headline-in-buffer target)
                  (hyperdrive-error "Unable to find entry in file: %S" 
target))))
 



reply via email to

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