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:
parent
ed909c049e
commit
cd950da9db
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue