Function: eshell-interpolate-variable

eshell-interpolate-variable is a byte-compiled function defined in esh-var.el.gz.

Signature

(eshell-interpolate-variable)

Documentation

Parse a variable interpolation.

This function is explicit for adding to eshell-parse-argument-hook.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-var.el.gz
(defun eshell-interpolate-variable ()
  "Parse a variable interpolation.
This function is explicit for adding to `eshell-parse-argument-hook'."
  (when (and (eq (char-after) ?$)
	     (/= (1+ (point)) (point-max)))
    (forward-char)
    (list 'eshell-escape-arg
	  (eshell-parse-variable))))