Function: eshell-concat-1

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

Signature

(eshell-concat-1 QUOTED FIRST SECOND)

Documentation

Concatenate FIRST and SECOND.

If QUOTED is nil and either FIRST or SECOND are numbers, try to convert the result to a number as well.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-concat-1 (quoted first second)
  "Concatenate FIRST and SECOND.
If QUOTED is nil and either FIRST or SECOND are numbers, try to
convert the result to a number as well."
  (let ((result (concat (eshell-stringify first) (eshell-stringify second))))
    (if (and (not quoted)
             (or (numberp first) (numberp second)))
        (eshell-convert-to-number result)
      result)))