From cd950da9dbbe05fd4cd62557943fedb6b34723f3 Mon Sep 17 00:00:00 2001 From: Marcin Borkowski Date: Mon, 14 Mar 2016 11:15:10 +0100 Subject: [PATCH] Honor prefix arg in doc-view-next-line-or-next-page * lisp/doc-view.el (doc-view-next-line-or-next-page): Take the prefix argument into consideration when continuous scrolling is not in effect (i.e., by default) (bug#19559). --- 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 9d912c3f6d..223565cedb 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -626,7 +626,7 @@ at the bottom edge of the page moves to the 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.39.2