Next: Eval Region, Up: Evaluate Emacs Lisp Expressions [Index]
Execute the accessible portion of current buffer as Lisp code. You can use ‘C-x n n’ to limit the part of buffer to be evaluated.
When called from a Lisp program (i.e., not interactively), this function accepts up to five optional arguments:
the buffer to evaluate (buffer or srtring) (current buffer if ’nil’)
controls printing of output by output functions;
the file name to use for ’load-history’
if non-’nil’, specifies ’load-convert-to-unibyte’
if non-’nil’, output functions should work normally; output is displayed in echo area.
It will heed ‘-*- lexical-binding: t -*-’ setting in heading; otherwise, the buffer will be evaluated without lexical binding.