How do I change emacs default font size and font type?

后端 未结 8 952
孤街浪徒
孤街浪徒 2020-12-07 13:15

I am using emacs 23.3. I need to change the font size and font type, can anyone help me?

8条回答
  •  执念已碎
    2020-12-07 13:43

    You can also do the following in your .emacs file.

    Emacs 23.1

    (set-frame-font "Inconsolata 12" nil t)
    

    Older versions of Emacs

    (set-default-font "Inconsolata 12" nil t)
    

提交回复
热议问题