Function: idlwave-shell-temp-file

idlwave-shell-temp-file is a byte-compiled function defined in idlw-shell.el.gz.

Signature

(idlwave-shell-temp-file TYPE)

Documentation

Return a temp file, creating it if necessary.

TYPE is either pro or rinfo, and idlwave-shell-temp-pro-file or idlwave-shell-temp-rinfo-save-file is set (respectively).

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/idlw-shell.el.gz
(defun idlwave-shell-temp-file (type)
  "Return a temp file, creating it if necessary.

TYPE is either `pro' or `rinfo', and `idlwave-shell-temp-pro-file' or
`idlwave-shell-temp-rinfo-save-file' is set (respectively)."
  (cond
   ((eq type 'rinfo)
    (or idlwave-shell-temp-rinfo-save-file
	(setq idlwave-shell-temp-rinfo-save-file
	      (make-temp-file idlwave-shell-temp-pro-prefix))))
   ((eq type 'pro)
    (or idlwave-shell-temp-pro-file
	(setq idlwave-shell-temp-pro-file
	      (make-temp-file idlwave-shell-temp-pro-prefix))))
   (t (error "Wrong argument (idlwave-shell-temp-file): %s"
	     (symbol-name type)))))