Function: idlwave-shell-execute-default-command-line

idlwave-shell-execute-default-command-line is an interactive and byte-compiled function defined in idlw-shell.el.gz.

Signature

(idlwave-shell-execute-default-command-line ARG)

Documentation

Execute a command line. On first use, ask for the command.

Also with prefix arg, ask for the command. You can also use the command idlwave-shell-edit-default-command-line to edit the line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
(defun idlwave-shell-execute-default-command-line (arg)
  "Execute a command line.  On first use, ask for the command.
Also with prefix arg, ask for the command.  You can also use the command
`idlwave-shell-edit-default-command-line' to edit the line."
  (interactive "P")
  (cond
   ((equal arg '(16))
    (setq idlwave-shell-command-line-to-execute nil))
   ((equal arg '(4))
    (setq idlwave-shell-command-line-to-execute
	  (read-string "IDL> " idlwave-shell-command-line-to-execute))))
  (idlwave-shell-reset 'hidden)
  (idlwave-shell-send-command
   (or idlwave-shell-command-line-to-execute
       (with-current-buffer (idlwave-shell-buffer)
	 (ring-ref comint-input-ring 0)))
   '(idlwave-shell-redisplay 'hide)))