diff options
| author | Marcin Borkowski | 2016-03-14 11:15:10 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2016-03-18 22:46:42 +0100 |
| commit | cd950da9dbbe05fd4cd62557943fedb6b34723f3 (patch) | |
| tree | 59da91b493878d134ae1c3fab690c590484be180 | |
| parent | ed909c049e845a22a7beb626ac98f139388005fa (diff) | |
| download | emacs-cd950da9dbbe05fd4cd62557943fedb6b34723f3.tar.gz 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).
| -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." | |||
| 626 | (image-bob) | 626 | (image-bob) |
| 627 | (image-bol 1)) | 627 | (image-bol 1)) |
| 628 | (set-window-hscroll (selected-window) hscroll))) | 628 | (set-window-hscroll (selected-window) hscroll))) |
| 629 | (image-next-line 1))) | 629 | (image-next-line arg))) |
| 630 | 630 | ||
| 631 | (defun doc-view-previous-line-or-previous-page (&optional arg) | 631 | (defun doc-view-previous-line-or-previous-page (&optional arg) |
| 632 | "Scroll downward by ARG lines if possible, else goto previous page. | 632 | "Scroll downward by ARG lines if possible, else goto previous page. |