Function: idlwave-shell-goto-frame
idlwave-shell-goto-frame is a byte-compiled function defined in
idlw-shell.el.gz.
Signature
(idlwave-shell-goto-frame &optional FRAME)
Documentation
Set buffer to FRAME with point at the frame line.
If the optional argument FRAME is nil then idlwave-shell-pc-frame
is used. Does nothing if the resulting frame is nil.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
(defun idlwave-shell-goto-frame (&optional frame)
"Set buffer to FRAME with point at the frame line.
If the optional argument FRAME is nil then `idlwave-shell-pc-frame'
is used. Does nothing if the resulting frame is nil."
(if frame ()
(setq frame (idlwave-shell-pc-frame)))
(cond
(frame
(set-buffer (idlwave-find-file-noselect (car frame) 'shell))
(widen)
(goto-char (point-min))
(forward-line (1- (nth 1 frame))))))