How to run an emacs lisp program in the *scratch* buffer
This is my OLD blog. I've copied this post over to my NEW blog at:
http://www.saltycrane.com/blog/2007/07/how-to-run-emacs-lisp-program-in/
You should be redirected in 2 seconds.
- start emacs
- in the scratch buffer, type: (+ 2 2)
- press CTRL-X CTRL-E
- you should get 4 in the echo area at the bottom of the screen
See also the Run a Program section in An Introduction to Emacs Lisp Programming
No comments:
Post a Comment