help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Copying a list for insertion


From: Jean Louis
Subject: Re: Copying a list for insertion
Date: Fri, 21 Oct 2022 20:32:20 +0300
User-agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02)

* Heime <heimeborgia@protonmail.com> [2022-10-21 20:26]:
> > Have done so, but doing M-w does not insert the string.
> 
> prin1-to-string inserts double quotes.  Because my list is composed of string
> items only, I want to exclude tho double quotes on each list entry.

M-w is to kill, C-y is to yank

So you wish to have list like '("Hello" "There") and to get '(Hello
There)?

(kill-new (format "%s" '("Hello" "There")))

(Hello There)


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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