[Top][All Lists]

[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 
    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 
    Ergus> the append option).

kill-new has a 'replace' argument, so:

(kill-new "foo" t)

(unless Iʼve misunderstood what youʼre asking for)


reply via email to

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