Function: eshell-stringify

eshell-stringify is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-stringify OBJECT)

Documentation

Convert OBJECT into a string value.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-stringify (object)
  "Convert OBJECT into a string value."
  (cond
   ((stringp object) object)
   ((numberp object)
    (number-to-string object))
   ((and (eq object t)
	 (not eshell-stringify-t))
    nil)
   (t
    (string-trim-right (pp-to-string object)))))