Function: switch-to-lisp
switch-to-lisp is an interactive and byte-compiled function defined in
inf-lisp.el.gz.
Signature
(switch-to-lisp EOB-P)
Documentation
Switch to the inferior Lisp process buffer.
With argument, positions cursor at end of buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/inf-lisp.el.gz
(defun switch-to-lisp (eob-p)
"Switch to the inferior Lisp process buffer.
With argument, positions cursor at end of buffer."
(interactive "P")
(if (get-buffer-process inferior-lisp-buffer)
(let ((pop-up-frames
;; Be willing to use another frame
;; that already has the window in it.
(or pop-up-frames
(get-buffer-window inferior-lisp-buffer t))))
(pop-to-buffer inferior-lisp-buffer))
(run-lisp inferior-lisp-program))
(when eob-p
(push-mark)
(goto-char (point-max))))