emacs-devel
[Top][All Lists]
Advanced

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

Re: Question Kill-ring modify last entry.


From: Robert Pluim
Subject: Re: Question Kill-ring modify last entry.
Date: Mon, 29 Jul 2019 16:43:24 +0200

>>>>> On Sun, 28 Jul 2019 23:45:15 +0200, Ergus <address@hidden> 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



reply via email to

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