[Top][All Lists]

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

Re: [External] : Re: Simple isearch concerns

From: Juri Linkov
Subject: Re: [External] : Re: Simple isearch concerns
Date: Mon, 05 Apr 2021 11:34:12 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> FWIW, Since 2006 `isearch+.el' provides something
> similar, but which I think is maybe a bit more useful.
> * Option `isearchp-set-region-flag' non-`nil' means
>   automatically set the region around the last search
>   target.

This is already easy to do with the hook:

(add-hook 'isearch-mode-end-hook
          (lambda ()
            (when transient-mark-mode
              (push-mark isearch-other-end t 'activate))))

reply via email to

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