Skip to content

Commit

Permalink
fix: warning org-element-at-point cannot be used in non-Org buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jsilve24 authored and noctuid committed Dec 25, 2023
1 parent 43378ae commit 9153eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion link-hint.el
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Only search the range between just after the point and BOUND."
;; org-open-at-point won't work e.g. for =http://address.com= even
;; though `org-next-link' will jump to it
(condition-case nil
(org-open-at-point)
(org-open-at-point-global)
(error (if (fboundp 'org-link-open-from-string)
(org-link-open-from-string uri)
(org-open-link-from-string uri)))))
Expand Down

0 comments on commit 9153eaf

Please sign in to comment.