* lisp/ol-docview.el (org-docview-open): Add docstring

This commit is contained in:
Ihor Radchenko 2023-10-09 16:33:18 +03:00
parent 54b9c845a7
commit 681f3fc8f9
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@
(t path)))))
(defun org-docview-open (link _)
"Open docview: LINK."
(string-match "\\(.*?\\)\\(?:::\\([0-9]+\\)\\)?$" link)
(let ((path (match-string 1 link))
(page (and (match-beginning 2)