mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
* lisp/isearch.el (isearch-define-mode-toggle): Ensure isearch-mode is active.
Call 'isearch-mode' when it's nil. (Bug#36871)
This commit is contained in:
parent
81b34c45c6
commit
883438ef67
1 changed files with 1 additions and 0 deletions
|
|
@ -1971,6 +1971,7 @@ The command then executes BODY and updates the isearch prompt."
|
|||
,(format "Toggle %s searching on or off.%s" mode
|
||||
(if docstring (concat "\n" docstring) ""))
|
||||
(interactive)
|
||||
(unless isearch-mode (isearch-mode t))
|
||||
,@(when function
|
||||
`((setq isearch-regexp-function
|
||||
(unless (eq isearch-regexp-function #',function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue