* doc-view.el (doc-view-new-window-function): Check the new window
authorTassilo Horn <tsdh@gnu.org>
Mon, 18 Mar 2013 07:41:38 +0000 (08:41 +0100)
committerTassilo Horn <tsdh@gnu.org>
Mon, 18 Mar 2013 07:41:38 +0000 (08:41 +0100)
commit2167b7b28faf65ff2c669b6a00734a22eaf12612
tree7e18ffc2410a66f4fdb7af530bd3f9d8746f5b79
parent6b8504bae0773ffedb64ed2a48cad6f4d84e754d
* doc-view.el (doc-view-new-window-function): Check the new window
overlay's display property instead the char property of the
buffer's first char.  Use `with-selected-window' instead of
`save-window-excursion' with `select-window'.
(doc-view-document->bitmap): Check the current doc-view overlay's
display property instead the char property of the buffer's first
char.
lisp/ChangeLog
lisp/doc-view.el