diff options
| author | Juri Linkov | 2008-11-22 20:40:44 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-11-22 20:40:44 +0000 |
| commit | 5ce25ae7777734c0fbb0a64b028c125af2fd9710 (patch) | |
| tree | 6b123c85e7a257f8f433ba27de4a14fa5c9a4d27 | |
| parent | b9d9c1596ed4e0b8721d93b2af58a69a9a8fa018 (diff) | |
| download | emacs-5ce25ae7777734c0fbb0a64b028c125af2fd9710.tar.gz emacs-5ce25ae7777734c0fbb0a64b028c125af2fd9710.zip | |
(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.
| -rw-r--r-- | lisp/isearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index a8c76ec9620..1e0b49bc14b 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -801,8 +801,8 @@ It is called by the function `isearch-forward' and other related functions." | |||
| 801 | (isearch-push-state) | 801 | (isearch-push-state) |
| 802 | 802 | ||
| 803 | (setq overriding-terminal-local-map isearch-mode-map) | 803 | (setq overriding-terminal-local-map isearch-mode-map) |
| 804 | (isearch-update) | ||
| 805 | (run-hooks 'isearch-mode-hook) | 804 | (run-hooks 'isearch-mode-hook) |
| 805 | (isearch-update) | ||
| 806 | 806 | ||
| 807 | (add-hook 'mouse-leave-buffer-hook 'isearch-done) | 807 | (add-hook 'mouse-leave-buffer-hook 'isearch-done) |
| 808 | (add-hook 'kbd-macro-termination-hook 'isearch-done) | 808 | (add-hook 'kbd-macro-termination-hook 'isearch-done) |