summaryrefslogtreecommitdiffhomepage
path: root/lib/doc
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-03 02:11:04 +0100
committerjao <jao@gnu.org>2022-09-03 02:11:04 +0100
commitcfc235d79b9d207e6b3cfbd6efdd26457d985a92 (patch)
tree5646bbe6e952cb6a34947a558eb938780be995b3 /lib/doc
parentabaa134f191e18c7acafdd0225e785e251544728 (diff)
downloadelibs-cfc235d79b9d207e6b3cfbd6efdd26457d985a92.tar.gz
elibs-cfc235d79b9d207e6b3cfbd6efdd26457d985a92.tar.bz2
jao-pdf: use page number in link description
Diffstat (limited to 'lib/doc')
-rw-r--r--lib/doc/jao-pdf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doc/jao-pdf.el b/lib/doc/jao-pdf.el
index 184bb95..6a44693 100644
--- a/lib/doc/jao-pdf.el
+++ b/lib/doc/jao-pdf.el
@@ -111,7 +111,7 @@ The result is cached as a local buffer variable."
(unless exists (jao-org-insert-doc-skeleton))
(let* ((fn (file-name-nondirectory pdf-file))
(desc (jao-pdf-section-title page pdf-file))
- (lnk (format "[[doc:%s::%d][%s]]" fn page desc)))
+ (lnk (format "[[doc:%s::%d][%s (p. %s)]]" fn page desc pageno)))
(jao-doc-session-mark)
(if (or (not exists) (and (not no-ask) (y-or-n-p "Insert link?")))
(insert lnk "\n")