0

My default font is Monaco. But I'd like to use Courier and with a larger size for .el files? How do I do that?

NickD
  • 27,023
  • 3
  • 23
  • 42
zeynel
  • 129
  • 8
  • 3
    This has to be a duplicate question. Please search for how to change to a different font... – Drew Sep 06 '22 at 16:07
  • 1
    https://stackoverflow.com/questions/13179942/changing-fonts-depending-on-the-major-mode – Tobias Sep 06 '22 at 19:50
  • @Tobias @phils Thanks. I'll try these. So, instead of file extension `.el` I should go by the mode. So I'll set the font for Emacs-lisp mode, right? – zeynel Sep 07 '22 at 06:45
  • 2
    Maybe, it is reasonable to use `prog-mode-hook`. That would include `emacs-lisp-mode`. – Tobias Sep 07 '22 at 09:57

0 Answers0