Function: eshell-parse-double-quote

eshell-parse-double-quote is a byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell-parse-double-quote)

Documentation

Parse a double quoted string, which allows for variable interpolation.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-parse-double-quote ()
  "Parse a double quoted string, which allows for variable interpolation."
  (when (eq (char-after) ?\")
    (let* ((end (eshell-find-delimiter ?\" ?\" nil nil t))
           (eshell-current-quoted t))
      (unless end
        (throw 'eshell-incomplete "\""))
      (prog1
          (save-restriction
            (forward-char)
            (narrow-to-region (point) end)
            (or (eshell-parse-argument) ""))
        (goto-char (1+ end))))))