diff options
author | Tassilo Horn <[email protected]> | 2008-04-22 06:38:12 +0000 |
---|---|---|
committer | Tassilo Horn <[email protected]> | 2008-04-22 06:38:12 +0000 |
commit | d5793be30c516653c280823735265f700807f8b3 (patch) | |
tree | 431cdda73233940fb907121a4f3319892b1e8872 /lisp/doc-view.el | |
parent | 01a369030e39cc7af7fe38d69450a4233f9bd45e (diff) |
(doc-view-scroll-up-or-next-page): Don't use
set-window-vscroll but image-scroll-down. Fixes a bug where a
command following SPC scrolled up again.
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 834c661af4..7d2988f971 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -434,7 +434,7 @@ Can be `dvi', `pdf', or `ps'.") (let ((cur-page (doc-view-current-page))) (doc-view-next-page) (when (/= cur-page (doc-view-current-page)) - (set-window-vscroll nil 0))))) + (image-scroll-down nil))))) (defun doc-view-scroll-down-or-previous-page () "Scroll page down if possible, else goto previous page." |