Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1257
+2008-06-19 Miles Bader <miles@gnu.org>
+
+ * face-remap.el (text-scale-increase): Start from zero if
+ text-scale-mode isn't enabled.
+
2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
* faces.el (face-set-after-frame-default): Re-apply explicit `font'
height by the same amount). As a special case, an argument of 0
will remove any scaling currently active."
(interactive "p")
- (setq text-scale-mode-amount (if (= inc 0) 0 (+ text-scale-mode-amount inc)))
+ (setq text-scale-mode-amount
+ (if (= inc 0) 0 (+ (if text-scale-mode text-scale-mode-amount 0) inc)))
(text-scale-mode (if (zerop text-scale-mode-amount) -1 1)))
;;;###autoload