>From 0f616d9501a5bd56381a4e8198816d2f26b6ae9e Mon Sep 17 00:00:00 2001 From: Marcin Borkowski Date: Mon, 14 Mar 2016 11:15:10 +0100 Subject: [PATCH] Fix bug #19559 The function `doc-view-next-line-or-next-page' disregarded its argument when continuous scrolling was not in effect (i.e., by default). --- lisp/doc-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 9d912c3..223565c 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -626,7 +626,7 @@ doc-view-next-line-or-next-page (image-bob) (image-bol 1)) (set-window-hscroll (selected-window) hscroll))) - (image-next-line 1))) + (image-next-line arg))) (defun doc-view-previous-line-or-previous-page (&optional arg) "Scroll downward by ARG lines if possible, else goto previous page. -- 2.4.3