Function: isearch-update-ring
isearch-update-ring is a byte-compiled function defined in
isearch.el.gz.
Signature
(isearch-update-ring STRING &optional REGEXP)
Documentation
Add STRING to the beginning of the search ring.
REGEXP if non-nil says use the regexp search ring.
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun 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."
(let ((history-delete-duplicates t))
(add-to-history
(if regexp 'regexp-search-ring 'search-ring)
(isearch-string-propertize string)
(if regexp regexp-search-ring-max search-ring-max)
t)))