unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ergus <spacibba@aol.com>
Cc: emacs-devel@gnu.org
Subject: Re: Question Kill-ring modify last entry.
Date: Mon, 29 Jul 2019 17:18:12 +0300	[thread overview]
Message-ID: <83zhkwkjq3.fsf@gnu.org> (raw)
In-Reply-To: <20190728214515.daxm2bcbto4ecco3@Ergus> (message from Ergus on Sun, 28 Jul 2019 23:45:15 +0200)

> Date: Sun, 28 Jul 2019 23:45:15 +0200
> From: Ergus <spacibba@aol.com>
> 
> I have been reading the elisp documentation and it is unclear for me if
> there is a "canonical" (lets say formal/supported/provided/save)
> function to replace the last entry in the kill-ring with a new one (like
> the append option).

kill-new with its REPLACE argument non-nil, I think.  Is this what you
are looking for?



  reply	other threads:[~2019-07-29 14:18 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 [this message]
2019-07-29 14:43 ` Robert Pluim
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=83zhkwkjq3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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).