unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to get 'replace-string' to access the key-ring?
@ 2019-01-09 12:06 Sharon Kimble
  2019-01-09 12:46 ` Robert Pluim
  0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2019-01-09 12:06 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]


How can I make 'replace-string' to access the kill-ring so that I have a choice of whatever is in the kill-ring please?

Currently I have this in my config -

#+BEGIN_SRC emacs-lisp

(global-set-key (kbd "M-s-x") 'replace-string)

#+END_SRC

- but I can't find any way of accessing the kill-ring so that I can choose what text, or whatever, to search and replace for.

Its probably something quite simple but its got me stumped at the moment, and I can't find a solution on the web using google.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-09 12:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-09 12:06 How to get 'replace-string' to access the key-ring? Sharon Kimble
2019-01-09 12:46 ` Robert Pluim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).