diff options
author | Ian D <dunni@gnu.org> | 2014-04-16 23:58:25 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-04-16 23:58:25 -0400 |
commit | e51c8d91c2099e993b119447be4f7a859c5bb35e (patch) | |
tree | 43beb988c6b2b3f60426217036111dbd561be8fc /lisp/doc-view.el | |
parent | 2ff06dac09ff973734c74c15540c15529cb2413b (diff) | |
download | emacs-e51c8d91c2099e993b119447be4f7a859c5bb35e.tar.gz |
* lisp/image-mode.el (image-mode-window-put): Also update the property of
the "default window".
* lisp/doc-view.el (doc-view-new-window-function): If no window
exists, move to the last known page.
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 42544851f6b..4ff78b55d4b 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -336,7 +336,7 @@ of the page moves to the previous page." ;; Don't do it if there's a conversion is running, since in that case, it ;; will be done later. (with-selected-window (car winprops) - (doc-view-goto-page 1))))) + (doc-view-goto-page (image-mode-window-get 'page t)))))) (defvar-local doc-view--current-files nil "Only used internally.") |