(doc-view-scroll-down-or-previous-page): Fix scrolling in case of
vertically split windows.
+2008-09-12 Tassilo Horn <tassilo@member.fsf.org>
+
+ * doc-view.el (doc-view-scroll-up-or-next-page)
+ (doc-view-scroll-down-or-previous-page): Fix scrolling in case of
+ vertically split windows.
+
2008-09-12 Glenn Morris <rgm@gnu.org>
* progmodes/f90.el (f90-mode-map): Don't bind \t and \r.
(let ((cur-page (doc-view-current-page)))
(doc-view-next-page)
(when (/= cur-page (doc-view-current-page))
- (image-scroll-down nil)))))
+ (image-bob)
+ (image-bol 1)))))
(defun doc-view-scroll-down-or-previous-page ()
"Scroll page down if possible, else goto previous page."
(let ((cur-page (doc-view-current-page)))
(doc-view-previous-page)
(when (/= cur-page (doc-view-current-page))
- (image-scroll-up nil)))))
+ (image-eob)
+ (image-bol 1)))))
;;;; Utility Functions