Tuesday, October 18, 2011

evaluate your lisp code in emacs

while all configuration for emcs is reside in .emacs file,we need temporarily test those configurations before permanently put into .emacs file
1) open emacs
2)M-x(alt-X) emacs-lisp-mode
3) from menu Emacs-Lisp,choose interactive Expression evaluation,we will see a EList> prompt for you to input lisp code
EList>(setq test t)
t
EList>(setq test1 "test1")
test1
EList>

No comments:

Post a Comment