Function: scheme-compile-region

scheme-compile-region is an interactive and byte-compiled function defined in cmuscheme.el.gz.

Signature

(scheme-compile-region START END)

Documentation

Compile the current region in the inferior Scheme process.

(A BEGIN is wrapped around the region: (BEGIN <region>).)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cmuscheme.el.gz
(defun scheme-compile-region (start end)
  "Compile the current region in the inferior Scheme process.
\(A BEGIN is wrapped around the region: (BEGIN <region>).)"
  (interactive "r")
  (comint-send-string (scheme-proc) (format scheme-compile-exp-command
					    (format "(begin %s)"
						    (buffer-substring start end))))
  (comint-send-string (scheme-proc) "\n"))