comint-add-to-input-history

comint-add-to-input-history is a compiled Lisp function in `comint.el'.

(comint-add-to-input-history CMD)

Add CMD to the input history.
Ignore duplicates if `comint-input-ignoredups' is non-nil.