diff options
author | Noam Postavsky <npostavs@gmail.com> | 2016-09-03 23:38:35 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2016-09-10 09:13:09 -0400 |
commit | 68f4b5292781bc331b040105c4079902b993835c (patch) | |
tree | 41915edb4e3077ad99539b04c2b7be51a1b1a8fe /lisp/emacs-lisp/subr-x.el | |
parent | 367f8568bc9e759ebdfb423648891efa0346456b (diff) | |
download | emacs-68f4b5292781bc331b040105c4079902b993835c.tar.gz emacs-68f4b5292781bc331b040105c4079902b993835c.tar.bz2 emacs-68f4b5292781bc331b040105c4079902b993835c.zip |
Don't require isearch-update before isearch-done
It is useful to be able to call `isearch-done' unconditionally to
ensure a non-isearching state.
* lisp/isearch.el (isearch-done): Check that `isearch--current-buffer'
is a live buffer before using it (Bug #21091).
* test/lisp/isearch-tests.el (isearch--test-done): Test it.
Diffstat (limited to 'lisp/emacs-lisp/subr-x.el')
0 files changed, 0 insertions, 0 deletions