Category:Emacs Lisp: Difference between revisions
Content added Content deleted
m (Fix bad link.) |
No edit summary |
||
Line 9: | Line 9: | ||
Emacs Lisp can be used as a general programming language with the emacs "-batch" or "--script" command line arguments. [http://www.emacswiki.org/emacs/BatchMode] |
Emacs Lisp can be used as a general programming language with the emacs "-batch" or "--script" command line arguments. [http://www.emacswiki.org/emacs/BatchMode] |
||
==How to run Emacs Lisp code== |
|||
A simple way to run Emacs code is to switch to the scratch buffer (Buffers -> *scratch*), type in or paste some Lisp code, and then move to the end of the Lisp expression and press Control-J to evaluate it.[https://www.gnu.org/software/emacs/manual/html_node/efaq/Evaluating-Emacs-Lisp-code.html] |
|||
If the debugger window appears, it can be dismissed with File -> Close like any other buffer. |
|||
Lisp code can also be added to the user's ~/.emacs file, which is evaluated at startup. |
|||
==External links== |
|||
* [https://www.gnu.org/software/emacs/ GNU Emacs homepage] |