Function: lisp-compile-defun

lisp-compile-defun is an interactive and byte-compiled function defined in inf-lisp.el.gz.

Signature

(lisp-compile-defun &optional AND-GO)

Documentation

Compile the current defun in 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-compile-defun (&optional and-go)
  "Compile the current defun in 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-compile-string 'lisp-compile-region)
  (if and-go (switch-to-lisp t)))