bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36871: 26.1; I-search-toggle-csse-fold


From: Noam Postavsky
Subject: bug#36871: 26.1; I-search-toggle-csse-fold
Date: Sun, 04 Aug 2019 16:53:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> Shouldn't toggling commands activate isearch-mode?
>
> I meant the same guarding like in isearch-yank-kill:

> @@ -1971,6 +1971,7 @@ isearch-define-mode-toggle
>           ,(format "Toggle %s searching on or off.%s" mode
>                    (if docstring (concat "\n" docstring) ""))
>           (interactive)
> +         (unless isearch-mode (isearch-mode t))

+1 from me, I like this better than throwing an error.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]