diff options
author | Marcin Borkowski <mbork@mbork.pl> | 2016-03-14 11:15:10 +0100 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2016-03-18 22:46:42 +0100 |
commit | cd950da9dbbe05fd4cd62557943fedb6b34723f3 (patch) | |
tree | 59da91b493878d134ae1c3fab690c590484be180 /lisp/doc-view.el | |
parent | ed909c049e845a22a7beb626ac98f139388005fa (diff) | |
download | emacs-cd950da9dbbe05fd4cd62557943fedb6b34723f3.tar.gz emacs-cd950da9dbbe05fd4cd62557943fedb6b34723f3.tar.bz2 emacs-cd950da9dbbe05fd4cd62557943fedb6b34723f3.zip |
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).
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r-- | lisp/doc-view.el | 2 |
1 files changed, 1 insertions, 1 deletions
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. |