Function: comint-history-isearch-end

comint-history-isearch-end is a byte-compiled function defined in comint.el.gz.

Signature

(comint-history-isearch-end)

Documentation

Clean up the comint after terminating Isearch in comint.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-history-isearch-end ()
  "Clean up the comint after terminating Isearch in comint."
  (if comint-history-isearch-message-overlay
      (delete-overlay comint-history-isearch-message-overlay))
  (setq isearch-message-prefix-add nil)
  (setq isearch-search-fun-function #'isearch-search-fun-default)
  (setq isearch-message-function nil)
  (setq isearch-wrap-function nil)
  (setq isearch-push-state-function nil)
  ;; Force isearch to not change mark.
  (setq isearch-opoint (point))
  (kill-local-variable 'isearch-lazy-count)
  (remove-hook 'isearch-mode-end-hook #'comint-history-isearch-end t)
  (unless isearch-suspended
    (setq comint--force-history-isearch nil)))