Function: evil-push-search-history
evil-push-search-history is a byte-compiled function defined in
evil-search.el.
Signature
(evil-push-search-history STRING FORWARD)
Documentation
Push STRING into the appropriate search history (determined by FORWARD).
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-search.el
(defun evil-push-search-history (string forward)
"Push STRING into the appropriate search history (determined by FORWARD)."
(let ((var (if forward
'evil-search-forward-history
'evil-search-backward-history)))
(unless (equal string (car (symbol-value var)))
(push string (symbol-value var)))))