Xah Emacs Lisp Tutorial. Programming in Emacs Lisp. The homepage for GNU Emacs is at To view this manual in other formats, click here.
This is an Introduction to Programming in Emacs Lisp, for people who are not programmers. Edition 3.10, 28 October 2009 Copyright © 1990–1995, 1997, 2001–2013 Free Software Foundation, Inc. Emacs Lisp Basics. Nothing This page is a short, practical, tutorial of Emacs Lisp the language.
To evaluate elisp code, for example, type (+ 3 4), then move your cursor to after the closing parenthesis, then call eval-last-sexp 【Ctrl+x Ctrl+e】. Emacs will evaluate the lisp expression to the left of the cursor. Alternatively, you can select the lisp code, then call eval-region.