summaryrefslogtreecommitdiff
path: root/lisp/org/ol-docview.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org/ol-docview.el')
-rw-r--r--lisp/org/ol-docview.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org/ol-docview.el b/lisp/org/ol-docview.el
index 22b630299bf..0c6419fbab9 100644
--- a/lisp/org/ol-docview.el
+++ b/lisp/org/ol-docview.el
@@ -68,7 +68,7 @@
((eq format 'ascii) (format "%s (%s)" desc path))
(t path)))))
-(defun org-docview-open (link)
+(defun org-docview-open (link _)
(string-match "\\(.*?\\)\\(?:::\\([0-9]+\\)\\)?$" link)
(let ((path (match-string 1 link))
(page (and (match-beginning 2)
@@ -98,7 +98,6 @@ and append it."
"::"
(read-from-minibuffer "Page:" "1")))
-
(provide 'ol-docview)
;;; ol-docview.el ends here