Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 67560a1b943f334498f7b170eab3b9032350fc03 1 parent 424a792
@jrockway authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  eslide.el
View
3  eslide.el
@@ -164,6 +164,9 @@ Optional argument WHICH controls which buffers to return and in what order; curr
(eslide-format-slide)
(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)
Please sign in to comment.
Something went wrong with that request. Please try again.