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?
Asked
Active
Viewed 39 times
0
-
3This has to be a duplicate question. Please search for how to change to a different font... – Drew Sep 06 '22 at 16:07
-
1https://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
-
2Maybe, it is reasonable to use `prog-mode-hook`. That would include `emacs-lisp-mode`. – Tobias Sep 07 '22 at 09:57