practicalli / spacemacs

Content for the book - Clojure Development with Spacemacs
https://practical.li/spacemacs
Creative Commons Attribution Share Alike 4.0 International
109 stars 33 forks source link

Evaluating elisp code in Spacemacs #244

Open practicalli-johnny opened 4 years ago

practicalli-johnny commented 4 years ago

Using an elsip source file buffer , e f to evaluate the top level function , e e to evaluate the previous expression, useful for evaluating nested expressions in place.

Also copy pieces of code from an existing expression and paste them in the buffer to be evaluated by themselves.

ielm is the repl for elisp, and indifidual pieces of code can be evaluated in there

There is also a way to evaluate elisp in the mini-buffer (search for how to do this)