Function: eshell-finish-arg

eshell-finish-arg is a byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell-finish-arg &rest ARGUMENTS)

Documentation

Finish the current argument being processed.

If any ARGUMENTS are specified, they will be added to the final argument list in place of the value of the current argument.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-finish-arg (&rest arguments)
  "Finish the current argument being processed.
If any ARGUMENTS are specified, they will be added to the final
argument list in place of the value of the current argument."
  (when arguments
    (if (= (length arguments) 1)
        (setq eshell-current-argument (car arguments))
      (cl-assert (and (not eshell-arg-listified)
                      (not eshell-current-modifiers)))
      (setq eshell-current-argument (cons 'eshell-flatten-args arguments))))
  (throw 'eshell-arg-done t))