Function: eshell-prepare-indices

eshell-prepare-indices is a byte-compiled function defined in esh-var.el.gz.

Signature

(eshell-prepare-indices INDICES)

Documentation

Prepare INDICES to be evaluated by Eshell.

INDICES is a list of index-lists generated by eshell-parse-indices.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-var.el.gz
(defun eshell-prepare-indices (indices)
  "Prepare INDICES to be evaluated by Eshell.
INDICES is a list of index-lists generated by `eshell-parse-indices'."
  `(list ,@(mapcar (lambda (idx-list)
                     (cons 'list (mapcar #'eshell-term-as-value idx-list)))
                   indices)))