summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanu <man.koell@gmail.com>2023-12-31 19:31:22 +0000
committerVedang Manerikar <ved.manerikar@gmail.com>2024-04-29 09:37:22 +0530
commit30b50544e55b8dbf683c2d932d5c33ac73323a16 (patch)
treeeec838c2b595a5990a7464f9ca5c340765e9728f
parent94e9f20a78f64a83daf641891923681a52d03919 (diff)
Fix: scroll by arg lines #249
-rw-r--r--lisp/pdf-view.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index bfe5f5b..96b4237 100644
--- a/lisp/pdf-view.el
+++ b/lisp/pdf-view.el
@@ -825,7 +825,7 @@ at the bottom edge of the page moves to the next page."
(image-bob)
(image-bol 1))
(image-set-window-hscroll hscroll)))
- (image-next-line 1)))
+ (image-next-line arg)))
(defun pdf-view-previous-line-or-previous-page (&optional arg)
"Scroll downward by ARG lines if possible, else go to the previous page.