Function: eshell-flush

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

Signature

(eshell-flush &optional RESET-P)

Documentation

Flush out any lines that have been queued for printing.

Must be called before printing begins with -1 as its argument, and after all printing is over with no argument.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-io.el.gz
(defun eshell-flush (&optional reset-p)
  "Flush out any lines that have been queued for printing.
Must be called before printing begins with -1 as its argument, and
after all printing is over with no argument."
  (ignore
   (if reset-p
       (setq eshell-print-queue nil
	     eshell-print-queue-count reset-p)
     (if eshell-print-queue
	 (eshell-print eshell-print-queue))
     (eshell-flush 0))))