Function: eshell-begin-on-new-line

eshell-begin-on-new-line is a byte-compiled function defined in esh-mode.el.gz.

Signature

(eshell-begin-on-new-line)

Documentation

This function outputs a newline if not at beginning of line.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defsubst eshell-begin-on-new-line ()
  "This function outputs a newline if not at beginning of line."
  (save-excursion
    (goto-char eshell-last-output-end)
    (or (bolp)
	(eshell-interactive-print "\n"))))