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: Teemu Likonen
Subject: Re: Copying a list for insertion
Date: Fri, 21 Oct 2022 18:46:59 +0300
User-agent: Notmuch/0.37 (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu)

* 2022-10-21 14:16:36+0000, Heime via Users list for the wrote:

> I am printing a list named "cunex" in the messages buffer. I would
> also like to store what is printed so I can insert the contents
> somewhere else, without having to go to the "*Messages*" buffer to
> copy it.
>
> (message "%s" cunex)

    (defvar my-store)
    (setq my-store (format "%S" cunex)) % or: "%s"
    (message "%s" cunex)


-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Attachment: signature.asc
Description: PGP signature


reply via email to

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