aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2011-01-05 22:54:23 +0100
committerTassilo Horn2011-01-05 22:54:23 +0100
commitf77ca003443c9d2bc87eb403e4c9a9a651d67ada (patch)
treefa5f4bd27855c2b56e6b5092bb7f760c23114f48
parent875c044ae22139b0cf36d99ccf7009d038296fea (diff)
downloademacs-f77ca003443c9d2bc87eb403e4c9a9a651d67ada.tar.gz
emacs-f77ca003443c9d2bc87eb403e4c9a9a651d67ada.zip
Fix bug in doc-view-enlarge.
-rw-r--r--lisp/doc-view.el2
1 files changed, 1 insertions, 1 deletions
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)."
654 (set (make-local-variable 'doc-view-image-width) 654 (set (make-local-variable 'doc-view-image-width)
655 (ceiling (* factor doc-view-image-width))) 655 (ceiling (* factor doc-view-image-width)))
656 (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file) 656 (doc-view-insert-image (plist-get (cdr (doc-view-current-image)) :file)
657 :width doc-view-resolution)) 657 :width doc-view-image-width))
658 (set (make-local-variable 'doc-view-resolution) 658 (set (make-local-variable 'doc-view-resolution)
659 (ceiling (* factor doc-view-resolution))) 659 (ceiling (* factor doc-view-resolution)))
660 (doc-view-reconvert-doc))) 660 (doc-view-reconvert-doc)))