projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3509aaa
)
Let isearch-yank-kill enable isearch-mode if needed (Bug#21419)
author
Noam Postavsky
<npostavs@gmail.com>
Wed, 6 Jun 2018 01:07:19 +0000
(21:07 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Thu, 7 Jun 2018 12:42:55 +0000
(08:42 -0400)
* lisp/isearch.el (isearch-yank-kill): Enable isearch-mode if needed.
lisp/isearch.el
patch
|
blob
|
history
diff --git
a/lisp/isearch.el
b/lisp/isearch.el
index feadf10e8b702fb40f8d1bd4c3b8003091cadbde..1e785a44c51f305442bd3992cd86f04e46fe3535 100644
(file)
--- a/
lisp/isearch.el
+++ b/
lisp/isearch.el
@@
-2036,6
+2036,7
@@
If search string is empty, just beep."
(defun isearch-yank-kill ()
"Pull string from kill ring into search string."
(interactive)
+ (unless isearch-mode (isearch-mode t))
(isearch-yank-string (current-kill 0)))
(defun isearch-yank-pop ()