isearch-update-ring

isearch-update-ring is a compiled Lisp function in `isearch.el'.

(isearch-update-ring STRING &optional REGEXP)

Add STRING to the beginning of the search ring.
REGEXP if non-nil says use the regexp search ring.