mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Let isearch-yank-kill enable isearch-mode if needed (Bug#21419)
* lisp/isearch.el (isearch-yank-kill): Enable isearch-mode if needed.
This commit is contained in:
parent
3509aaaefe
commit
9966842a21
1 changed files with 1 additions and 0 deletions
|
|
@ -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 ()
|
||||
|
|
|
|||
Loading…
Reference in a new issue