branch: externals/org
commit 33162c3ab2b8b2e520e34083308a7cc1bb19d833
Author: Pedro A. Aranda <[email protected]>
Commit: Pedro A. Aranda <[email protected]>
ol-docview: Fix docstring.
make compile was complaining about docstring.
(org-docview-complete-link): Provide a conforming docstring.
---
lisp/ol-docview.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/ol-docview.el b/lisp/ol-docview.el
index f564ff4b5d7..84ed91663d7 100644
--- a/lisp/ol-docview.el
+++ b/lisp/ol-docview.el
@@ -95,8 +95,10 @@
:description path))))
(defun org-docview-complete-link ()
- "Use the existing file name completion for file links to get the file name,
then ask the user for the page number
-and append it."
+ "Complete link from filename, asking for page number.
+
+Use the existing file name completion for file links to get the file name,
+then ask the user for the page number and append it."
(concat (replace-regexp-in-string "^file:" "docview:"
(org-link-complete-file))
"::"
(read-from-minibuffer "Page:" "1")))