emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 cd950da: Honor prefix arg in doc-view-next-line-o


From: Tassilo Horn
Subject: [Emacs-diffs] emacs-25 cd950da: Honor prefix arg in doc-view-next-line-or-next-page
Date: Fri, 18 Mar 2016 21:48:57 +0000

branch: emacs-25
commit cd950da9dbbe05fd4cd62557943fedb6b34723f3
Author: Marcin Borkowski <address@hidden>
Commit: Tassilo Horn <address@hidden>

    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).
---
 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 9d912c3..223565c 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]