From: Robert Pluim <rpluim@gmail.com>
To: Ergus <spacibba@aol.com>
Cc: emacs-devel@gnu.org
Subject: Re: Question Kill-ring modify last entry.
Date: Mon, 29 Jul 2019 16:43:24 +0200 [thread overview]
Message-ID: <m2sgqohpf7.fsf@gmail.com> (raw)
In-Reply-To: <20190728214515.daxm2bcbto4ecco3@Ergus> (Ergus's message of "Sun, 28 Jul 2019 23:45:15 +0200")
>>>>> On Sun, 28 Jul 2019 23:45:15 +0200, Ergus <spacibba@aol.com> said:
Ergus> Hi:
Ergus> I have been reading the elisp documentation and it is unclear for me if
Ergus> there is a "canonical" (lets say formal/supported/provided/save)
Ergus> function to replace the last entry in the kill-ring with a new one (like
Ergus> the append option).
kill-new has a 'replace' argument, so:
(kill-new "foo" t)
(unless Iʼve misunderstood what youʼre asking for)
Robert
next prev parent reply other threads:[~2019-07-29 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-28 21:45 Question Kill-ring modify last entry Ergus
2019-07-29 14:18 ` Eli Zaretskii
2019-07-29 14:43 ` Robert Pluim [this message]
2019-07-29 18:10 ` Ergus
2019-07-29 18:42 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2sgqohpf7.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=spacibba@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).