Function: lisp-eval-defun
lisp-eval-defun is an autoloaded, interactive and byte-compiled
function defined in inf-lisp.el.gz.
Signature
(lisp-eval-defun &optional AND-GO)
Documentation
Send the current defun to the inferior Lisp process.
DEFVAR forms reset the variables to the init values. 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-defun (&optional and-go)
"Send the current defun to the inferior Lisp process.
DEFVAR forms reset the variables to the init values.
Prefix argument means switch to the Lisp buffer afterwards."
(interactive "P")
(lisp-do-defun 'lisp-eval-string 'lisp-eval-region)
(if and-go (switch-to-lisp t)))