Commit 883438ef authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/isearch.el (isearch-define-mode-toggle): Ensure isearch-mode is active.

Call 'isearch-mode' when it's nil.  (Bug#36871)
parent 81b34c45
Pipeline #2764 failed with stage
in 75 minutes and 39 seconds
......@@ -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) ""))
(unless isearch-mode (isearch-mode t))
,@(when function
`((setq isearch-regexp-function
(unless (eq isearch-regexp-function #',function)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment