update packages
This commit is contained in:
@@ -111,8 +111,6 @@ one of the displayed keys, or by using isearch limited to
|
||||
links via \\[pdf-links-isearch-link].
|
||||
|
||||
\\{pdf-links-minor-mode-map}"
|
||||
|
||||
nil nil nil
|
||||
:group 'pdf-links
|
||||
(pdf-util-assert-pdf-buffer)
|
||||
(cond
|
||||
@@ -369,7 +367,12 @@ Wraps the URI in \[\[ ... \]\] and calls `org-open-link-from-string'
|
||||
on the resulting string."
|
||||
(cl-check-type uri string)
|
||||
(message "Opening `%s' with Org" uri)
|
||||
(org-open-link-from-string (format "[[%s]]" uri)))
|
||||
(cond
|
||||
((fboundp 'org-link-open-from-string)
|
||||
(org-link-open-from-string (format "[[%s]]" uri)))
|
||||
;; For Org 9.2 and older
|
||||
((fboundp 'org-open-link-from-string)
|
||||
(org-open-link-from-string (format "[[%s]]" uri)))))
|
||||
|
||||
(provide 'pdf-links)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user