From: Marcin Borkowski Date: Mon, 14 Mar 2016 10:15:10 +0000 (+0100) Subject: Honor prefix arg in doc-view-next-line-or-next-page X-Git-Tag: emacs-25.0.93~89^2~46 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd950da;p=emacs.git 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). --- diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 9d912c3f6d9..223565cedb6 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.