Function: lisp-eval-region
lisp-eval-region is an interactive and byte-compiled function defined
in inf-lisp.el.gz.
Signature
(lisp-eval-region START END &optional AND-GO)
Documentation
Send the current region to the inferior Lisp process.
Prefix argument means switch to the Lisp buffer afterwards.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/inf-lisp.el.gz
(defun lisp-eval-region (start end &optional and-go)
"Send the current region to the inferior Lisp process.
Prefix argument means switch to the Lisp buffer afterwards."
(interactive "r\nP")
(comint-send-region (inferior-lisp-proc) start end)
(comint-send-string (inferior-lisp-proc) "\n")
(if and-go (switch-to-lisp t)))