Function: eshell-put-history

eshell-put-history is a byte-compiled function defined in em-hist.el.gz.

Signature

(eshell-put-history INPUT &optional RING AT-BEGINNING)

Documentation

Put a new input line into the history ring.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defun eshell-put-history (input &optional ring at-beginning)
  "Put a new input line into the history ring."
  (unless ring (setq ring eshell-history-ring))
  (if at-beginning
      (ring-insert-at-beginning ring input)
    (ring-insert ring input)))