How to invoke an interactive elisp interpreter in Emacs?

Michał Kwiatkowski picture Michał Kwiatkowski · Sep 28, 2008 · Viewed 10.4k times · Source

Right now I write expressions in the *scratch* buffer and test them by evaluating with C-x C-e. I would really appreciate having an interactive interpreter like SLIME or irb, in which I could test Emacs Lisp expressions.

Answer

Greg Mattes picture Greg Mattes · Sep 28, 2008

It's easy to evaluate Lisp expressions in Inferior Emacs-Lisp Mode:

M-x ielm

You can read more about this feature in the Emacs manual section on "Lisp Interaction"