]> git.eshelyaron.com Git - emacs.git/commit
Adapt doc-view to latest image-mode changes
authorTassilo Horn <tsdh@gnu.org>
Fri, 25 Oct 2019 20:07:39 +0000 (22:07 +0200)
committerTassilo Horn <tsdh@gnu.org>
Fri, 25 Oct 2019 20:19:46 +0000 (22:19 +0200)
commita0f7ea599919f967331173fdde2b87e50c88c4b7
tree1b4d8fdfa5278852c05d4eb215ec1b333cc3cea7
parent25ed447b7bec3af66cf0322239cfabbaf71bef26
Adapt doc-view to latest image-mode changes

The functions image-scroll-down, image-scroll-up, image-next-line, and
image-previous-line now return pixel values instead of multiples of
character height as of commit 9c66b09950.

* lisp/doc-view.el (doc-view-scroll-up-or-next-page):
(doc-view-scroll-down-or-previous-page):
(doc-view-next-line-or-next-page):
(doc-view-previous-line-or-previous-page):
(doc-view-insert-image): Adapt to image-scroll-up/down and
image-next/previous-line now returning pixel values instead of
multiples of character heights.  Fixes bug#37874.
lisp/doc-view.el