Function: idlwave-shell-batch-command

idlwave-shell-batch-command is a byte-compiled function defined in idlw-shell.el.gz.

Signature

(idlwave-shell-batch-command)

Documentation

Return t if we're in a batch command statement like "@foo".

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlw-shell.el.gz
(defun idlwave-shell-batch-command ()
  "Return t if we're in a batch command statement like \"@foo\"."
  (let ((limit (point-at-bol)))
    (save-excursion
      ;; Skip backwards over filename
      (skip-chars-backward idlwave-shell-file-name-chars limit)
      (skip-chars-backward " \t" limit)
      (and (eq (preceding-char) ?@) (not (idlwave-in-quote))))))