Function: lisp-eval-region-and-go

lisp-eval-region-and-go is an interactive and byte-compiled function defined in inf-lisp.el.gz.

Signature

(lisp-eval-region-and-go START END)

Documentation

Send the current region to the inferior Lisp, and switch to its buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/inf-lisp.el.gz
;;; Now that lisp-compile/eval-defun/region takes an optional prefix arg,
;;; these commands are redundant. But they are kept around for the user
;;; to bind if he wishes, for backwards functionality, and because it's
;;; easier to type C-c e than C-u C-c C-e.

(defun lisp-eval-region-and-go (start end)
  "Send the current region to the inferior Lisp, and switch to its buffer."
  (interactive "r")
  (lisp-eval-region start end t))