Category:Emacs Lisp: Difference between revisions

 
(2 intermediate revisions by the same user not shown)
Line 17:
<pre>(+ 1 2 3)<Ctrl-J>
6</pre>
Of course you can also change your code and evaluate it again. To evaluate ''all'' code in the current buffer, use "M-x eval-buffer".
 
Emacs will highlight matching parentheses.
Line 32:
 
There are also color themes for Emacs, e.g. if you prefer dark mode.
 
You can also set a different font for Emacs:[https://www.reddit.com/r/emacs/comments/93htxs/setting_a_font_in_emacs/] Evaluate "(font-family-list)" in the scratch buffer. (This may cause some slowness of the editor if you have many fonts installed.) Then search backwards (Ctrl-r) for the font you want, to see its exact name. And finally put the font name and size into your ~/.emacs and restart Emacs, e.g.:
<pre>(set-frame-font "Courier Prime-20" nil t)</pre>
 
And finally, if you would like to suppress the welcome screen, put this in your .emacs:
<pre>(setq inhibit-startup-screen t)</pre>
 
==External links==
Anonymous user