Commit 5ce25ae7 authored by Juri Linkov's avatar Juri Linkov
Browse files

(isearch-mode): Change the order of calling

`isearch-update' and running the `isearch-mode-hook' to call
`isearch-update' with Isearch parameters set in this hook.
parent b9d9c159
......@@ -801,8 +801,8 @@ It is called by the function `isearch-forward' and other related functions."
(setq overriding-terminal-local-map isearch-mode-map)
(run-hooks 'isearch-mode-hook)
(add-hook 'mouse-leave-buffer-hook 'isearch-done)
(add-hook 'kbd-macro-termination-hook 'isearch-done)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment