Browse files

do a quick fixup for the rare off-by-one case

do a redisplay, then decrease the text scale if stuff is wrapping
  • Loading branch information...
1 parent 424a792 commit 67560a1b943f334498f7b170eab3b9032350fc03 @jrockway committed Jun 29, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 eslide.el
@@ -164,6 +164,9 @@ Optional argument WHICH controls which buffers to return and in what order; curr
(text-scale-increase 0)
(text-scale-increase (eslide-scale-for-slide text))
+ (redisplay)
+ (when (not (eslide-no-lines-wrap-p (selected-window)))
+ (text-scale-decrease 1))
(goto-char (point-min)))))
(defmacro with-string-buffer (string &rest forms)

0 comments on commit 67560a1

Please sign in to comment.