Next: Lisp Interaction Mode, Previous: Inferior Lisp Mode, Up: Interactive Evaluation and Executing Lisp Expressions [Index]
Major mode for editing Lisp code and Lisp source files to run in Emacs.
mode command
‘C-M-x’
Evaluate the top-level form containing point, or after point. If the current defun is actually a call to ‘defvar’ or ‘defcustom’, evaluating it this way resets the variable using its initial value expression This command arranges for all errors to enter the debugger.
With a prefix argument, instrument the code for Edebug.
‘M-:’
Evaluate EXP and print value in the echo area. When called interactively, read an Emacs Lisp expression and evaluate it.
‘C-x C-e’
Evaluate sexp before point print value in the echo area. Interactively, with a non ‘-’ prefix argument, print output into current buffer.
The command ‘M-x eval-region’ parses the text of the region as one or more Lisp expressions, evaluating them one by one. ‘M-x eval-buffer’ is similar but evaluates the entire buffer.
Parent mode is Lisp Data Mode.