简体   繁体   中英

Disable Emacs text scaling

Is it possible to disable text Scaling in Emacs? Whenever I reverse the undo direction (Cx C--), the text size decreases. I am using Emacs 24 with Prelude on Ubuntu 12.04

In addition to @xfq's answer, you can turn off scaling by unsetting the key in your init file, or your .emacs file (available at ~/.emacs).

(global-unset-key (kbd "C-x C--"))

( remember that you can reload the file without restarting emacs using Mx load-file .emacs when you're done editing )

You can read more on these commands by typing Ch f text-scale-adjust RET . text-scale-adjust is bound to Cx C-0 , and resets any scaling performed by Cx C-- or Cx C-+ , as explained in that page.

Try Cx C-0 0 . It can reset the default face height to the global default.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM