Function: idlwave-shell-current-frame
idlwave-shell-current-frame is a byte-compiled function defined in
idlw-shell.el.gz.
Signature
(idlwave-shell-current-frame)
Documentation
Return a list containing the current file name and line point is in.
If in the IDL shell buffer, returns idlwave-shell-pc-frame.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
(defun idlwave-shell-current-frame ()
"Return a list containing the current file name and line point is in.
If in the IDL shell buffer, returns `idlwave-shell-pc-frame'."
(if (eq (current-buffer) (get-buffer (idlwave-shell-buffer)))
;; In IDL shell
(idlwave-shell-pc-frame)
;; In source
(list (idlwave-shell-file-name (buffer-file-name))
(save-restriction
(widen)
(1+ (count-lines 1 (line-beginning-position)))))))