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).
This commit is contained in:
Marcin Borkowski 2016-03-14 11:15:10 +01:00 committed by Tassilo Horn
parent ed909c049e
commit cd950da9db

View file

@ -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.