emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: M-y in isearch mode


From: Stefan Monnier
Subject: Re: M-y in isearch mode
Date: Mon, 02 May 2011 15:16:21 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Sounds good. Patch modified to this suggestion.

Fell free to commit.

> +(defun isearch-yank-pop ()
> +  "Replace just-yanked search string with previously killed string."
> +  (interactive)
> +  (if (not (memq last-command '(isearch-yank-kill isearch-yank-pop)))
> +      (isearch-yank-kill)

You can add a short comment here explaining why we do this fallback (and
we may want to change this fallback in the future if we ever change
yank-pop to do something like the kill-ring-browser).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]