diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-04-10 19:50:39 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-04-10 19:50:39 +0300 |
commit | 0e7bcec103073eceecc2621c19e4d290b2d97e8d (patch) | |
tree | c740216697d3c7f066b1dbe3b8a32ef2f4b32a72 /lisp/emacs-lisp/easy-mmode.el | |
parent | 85f257c9bc5b89043b2d7019e6763e552f4c89e7 (diff) | |
download | emacs-0e7bcec103073eceecc2621c19e4d290b2d97e8d.tar.gz emacs-0e7bcec103073eceecc2621c19e4d290b2d97e8d.tar.bz2 emacs-0e7bcec103073eceecc2621c19e4d290b2d97e8d.zip |
Avoid crashes due to unreasonably large or small text scaling
* lisp/face-remap.el (text-scale-min-amount)
(text-scale-max-amount): New functions.
(text-scale-set, text-scale-increase): Use them to limit the text
scaling to a reasonable range of values. (Bug#23259)
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions