From 8eae366426f37f158711b80433ae2135510deb62 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 21 Nov 2022 18:38:47 +0000 Subject: nits --- lib/doc/jao-pdf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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))))) -- cgit v1.2.3