Function: switch-to-tcl

switch-to-tcl is an interactive and byte-compiled function defined in tcl.el.gz.

Signature

(switch-to-tcl EOB-P)

Documentation

Switch to inferior Tcl process buffer.

With argument, positions cursor at end of buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/tcl.el.gz
(defun switch-to-tcl (eob-p)
  "Switch to inferior Tcl process buffer.
With argument, positions cursor at end of buffer."
  (interactive "P")
  (if (get-buffer inferior-tcl-buffer)
      (pop-to-buffer inferior-tcl-buffer)
    (error "No current inferior Tcl buffer"))
  (cond (eob-p
	 (push-mark)
	 (goto-char (point-max)))))