projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b34c4
)
* lisp/isearch.el (isearch-define-mode-toggle): Ensure isearch-mode is active.
author
Juri Linkov
<juri@linkov.net>
Mon, 5 Aug 2019 20:37:32 +0000
(23:37 +0300)
committer
Juri Linkov
<juri@linkov.net>
Mon, 5 Aug 2019 20:37:32 +0000
(23:37 +0300)
Call 'isearch-mode' when it's nil. (Bug#36871)
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index 09729034d748171f87eb58627d2d6644e5773a68..30f7fc7254cb63ac818d21ba04075bfc9b969ce3 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-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)