Function: isearch-highlight-regexp
isearch-highlight-regexp is an interactive and byte-compiled function
defined in isearch.el.gz.
Signature
(isearch-highlight-regexp)
Documentation
Exit Isearch mode and call highlight-regexp.
The arguments passed to highlight-regexp are the regexp from
the last search and the face from hi-lock-read-face-name.
Probably introduced at or before Emacs version 23.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-highlight-regexp ()
"Exit Isearch mode and call `highlight-regexp'.
The arguments passed to `highlight-regexp' are the regexp from
the last search and the face from `hi-lock-read-face-name'."
(interactive)
(isearch--highlight-regexp-or-lines
#'(lambda (regexp face lighter)
(highlight-regexp regexp face nil lighter))))