emacs-devel
[Top][All Lists]
Advanced

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

RE: isearch region or thing at point.


From: Drew Adams
Subject: RE: isearch region or thing at point.
Date: Wed, 1 May 2019 09:25:10 -0700 (PDT)

It's not about Isearch+.  It's about `M-w' in Isearch.

This is all there is to `isearchp-kill-ring-save'.  I think this (or similar) 
is what vanilla Isearch should bind to `M-w' (renaming to 
`isearch-kill-ring-save', for example).

(defun isearchp-kill-ring-save ()
  "Copy the current search string to the kill ring."
  (interactive)
  (kill-new isearch-string)
  (let ((message-log-max  nil))
    (message "Copied search string as kill"))
  (sit-for 1)
  (isearch-update))



reply via email to

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