Function: eshell-buffered-print

eshell-buffered-print is a byte-compiled function defined in esh-io.el.gz.

Signature

(eshell-buffered-print &rest STRINGS)

Documentation

A buffered print -- *for strings only*.

When the buffer exceeds eshell-buffered-print-size in characters, this will flush it using eshell-flush (which see).

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-io.el.gz
(defun eshell-buffered-print (&rest strings)
  "A buffered print -- *for strings only*.
When the buffer exceeds `eshell-buffered-print-size' in characters, this
will flush it using `eshell-flush' (which see)."
  (setq eshell--buffered-print-queue
        (nconc eshell--buffered-print-queue strings))
  (incf eshell--buffered-print-current-size
        (apply #'+ (mapcar #'length strings)))
  (when (> eshell--buffered-print-current-size eshell-buffered-print-size)
    (eshell-flush)))