Function: idlwave-shell-sources-bp
idlwave-shell-sources-bp is a byte-compiled function defined in
idlw-shell.el.gz.
Signature
(idlwave-shell-sources-bp BP)
Documentation
Check idlwave-shell-sources-alist for source of breakpoint using BP.
If an equivalency is found, return the IDL internal source name. Otherwise return the filename in BP.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
(defun idlwave-shell-sources-bp (bp)
"Check `idlwave-shell-sources-alist' for source of breakpoint using BP.
If an equivalency is found, return the IDL internal source name.
Otherwise return the filename in BP."
(let*
((bp-file (idlwave-shell-bp-get bp 'file))
(bp-module (idlwave-shell-bp-get bp 'module))
(internal-file-list
(if bp-module
(cdr (assoc bp-module idlwave-shell-sources-alist)))))
(if (and internal-file-list
(equal bp-file (nth 0 internal-file-list)))
(nth 1 internal-file-list)
bp-file)))