diff options
author | Juri Linkov <juri@linkov.net> | 2018-11-17 23:31:52 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2018-11-17 23:31:52 +0200 |
commit | 8a481d29706eaf023ca786e3b905d397fbcfd685 (patch) | |
tree | 768a2ad9aad825649fa0f583f91804d100a5985e /lisp/emacs-lisp/syntax.el | |
parent | 81f0e05a02013bd1c9ea177e234561348b108578 (diff) | |
download | emacs-8a481d29706eaf023ca786e3b905d397fbcfd685.tar.gz emacs-8a481d29706eaf023ca786e3b905d397fbcfd685.tar.bz2 emacs-8a481d29706eaf023ca786e3b905d397fbcfd685.zip |
Don't exit Isearch while resizing windows with mouse (bug#32990)
* lisp/isearch.el (isearch-mouse-leave-buffer): New function.
(isearch-mode): Use isearch-mouse-leave-buffer instead of
isearch-done for mouse-leave-buffer-hook.
(isearch-done): Remove isearch-mouse-leave-buffer from
mouse-leave-buffer-hook.
(enlarge-window-horizontally, shrink-window-horizontally)
(shrink-window, mouse-drag-mode-line, mouse-drag-vertical-line):
Put property isearch-scroll with t.
(isearch-mode): Reset isearch-pre-scroll-point and
isearch-pre-move-point to nil for the case when Isearch exits
between isearch-pre-command-hook (that sets these values) and
isearch-post-command-hook (that used to reset them).
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions