Next: , Previous: , Up: Evaluate Emacs Lisp Expressions   [Index]


F.1.2 Eval Region

(eval-region)

Execute the region as Lisp code.

When called from programs, expects two arguments, giving starting and ending indices in the current buffer of the text to be executed.

START

start point of region

END

end point of region

PRINTFLAG

’nil’ means to discard printed output

READ-FUNCTION

if non-’nil’, use an alternate function to read each expression. It’s one argument is the input stream for reading characters.