Subject: Re: bug#21419: isearch does not exit cleanly when ido active

From: Noam Postavsky <[email-masked]>
Date: Thu, 07 Jun 2018 08:48:00 -0400

severity 21419 minor
tags 21419 fixed
close 21419 27.1
quit

Noam Postavsky <[email-masked]> writes:

> I think isearch-yank-kill is not intended as an entry point. Perhaps
> it should have something like (unless isearch-mode (user-error
> "isearch not active!"))
> Or maybe
> (unless isearch-mode (isearch-mode t))

I've done the latter in master.

[1: 9966842a21]: 2018-06-07 08:42:55 -0400
  Let isearch-yank-kill enable isearch-mode if needed (Bug#21419)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9966842a2166d42cb6969b6bbc5154960d1252bc