From: Tassilo Horn Date: Wed, 5 Jan 2011 21:54:23 +0000 (+0100) Subject: Fix bug in doc-view-enlarge. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~278^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f77ca003443c9d2bc87eb403e4c9a9a651d67ada;p=emacs.git Fix bug in doc-view-enlarge. --- diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 7ec8b3954e0..fce3597409c 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -654,7 +654,7 @@ OpenDocument format)." (set (make-local-variable 'doc-view-image-width) (ceiling (* factor doc-view-image-width))) (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file) - :width doc-view-resolution)) + :width doc-view-image-width)) (set (make-local-variable 'doc-view-resolution) (ceiling (* factor doc-view-resolution))) (doc-view-reconvert-doc)))