summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-11-21 18:38:47 +0000
committerjao <jao@gnu.org>2022-11-21 18:38:47 +0000
commit8eae366426f37f158711b80433ae2135510deb62 (patch)
tree42f66ca3a20151ae78b0b551a101730313123904 /lib
parent318dc997472ee0b68c871cf44b693a3c299899ee (diff)
downloadelibs-8eae366426f37f158711b80433ae2135510deb62.tar.gz
elibs-8eae366426f37f158711b80433ae2135510deb62.tar.bz2
nits
Diffstat (limited to 'lib')
-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 78d5196..1ee74bc 100644
--- a/lib/doc/jao-pdf.el
+++ b/lib/doc/jao-pdf.el
@@ -60,7 +60,7 @@
(outline jao-pdf--outline)
(cur-page 0)
(cur-title (jao-pdf-title (or file-name buffer-file-name "title"))))
- (while (and (car outline) (< cur-page page))
+ (while (and (car outline) page (< cur-page page))
(setq cur-page (cdr (assoc 'page (car outline))))
(when (<= cur-page page)
(setq cur-title (cdr (assoc 'title (car outline)))))