X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/154d394bd37bd21516a1c4967d9acf4f1c47ddb4..3bc71084dd6371bb4a0e76a72fb5627e9476e7a5:/lisp/isearch.el?ds=sidebyside diff --git a/lisp/isearch.el b/lisp/isearch.el index 0061e7a64e..d0ad330c5c 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -156,9 +156,6 @@ command history." (defvar isearch-mode-hook nil "Function(s) to call after starting up an incremental search.") -(defvar isearch-update-post-hook nil - "Function(s) to call after isearch has found matches in the buffer.") - (defvar isearch-mode-end-hook nil "Function(s) to call after terminating an incremental search. When these functions are called, `isearch-mode-end-hook-quit' @@ -871,8 +868,7 @@ It is called by the function `isearch-forward' and other related functions." (isearch-lazy-highlight-new-loop)) ;; We must prevent the point moving to the end of composition when a ;; part of the composition has just been searched. - (setq disable-point-adjustment t) - (run-hooks 'isearch-update-post-hook)) + (setq disable-point-adjustment t)) (defun isearch-done (&optional nopush edit) "Exit Isearch mode.