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."
(isearch-push-state)
(setq overriding-terminal-local-map isearch-mode-map)
(isearch-update)
(run-hooks 'isearch-mode-hook)
(isearch-update)
(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