How to set the font size in Emacs?

前端 未结 17 1601
囚心锁ツ
囚心锁ツ 2020-11-28 17:43

I also want to save the font size in my .emacs file.

17条回答
  •  时光取名叫无心
    2020-11-28 17:48

    Firefox and other programs allow you to increase and decrease the font size with C-+ and C--. I set up my .emacs so that I have that same ability by adding these lines of code:

    (global-set-key [C-kp-add] 'text-scale-increase)
    
    (global-set-key [C-kp-subtract] 'text-scale-decrease)
    

提交回复
热议问题