Allow different windows to show different pages.
commitde1714654196ecc734675a200d933aee2dc49638
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Feb 2008 03:45:04 +0000 (21 03:45 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Feb 2008 03:45:04 +0000 (21 03:45 +0000)
tree570cfdc45d7dd83f8568a47e3c3ae778d8e10728
parent027cd64481d5c80328d3da22795776ed3060fa0c
Allow different windows to show different pages.
(doc-view-current-page, doc-view-current-slice, doc-view-current-info)
(doc-view-current-image, doc-view-current-overlay): Remove variables,
add them back as macros instead, using image-mode-winprops instead.
Update all users of those variables.
(doc-view-new-window-function): New function to create a new overlay
for each new window.
(doc-view-mode): Use it and image-mode-setup-winprops.
(doc-view-clone-buffer-hook): Rewrite accordingly.
lisp/ChangeLog
lisp/doc-view.el