branch: elpa/pdf-tools
commit 30b50544e55b8dbf683c2d932d5c33ac73323a16
Author: manu <man.ko...@gmail.com>
Commit: Vedang Manerikar <ved.maneri...@gmail.com>

    Fix: scroll by arg lines #249
---
 lisp/pdf-view.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el
index bfe5f5b0fb..96b4237cb1 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.

Reply via email to