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

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

Re: How to temporarily show an image in an Emacs buffer?


From: Marcin Borkowski
Subject: Re: How to temporarily show an image in an Emacs buffer?
Date: Sat, 11 Mar 2023 09:15:12 +0100
User-agent: mu4e 1.1.0; emacs 30.0.50

On 2023-03-10, at 17:26, Stefan Monnier via Users list for the GNU Emacs text 
editor <help-gnu-emacs@gnu.org> wrote:

>> I need to insert an image in the buffer in a way that doesn't interfere
>> with the undo mechanism.  In other words, `insert-image' won't help me
>> because (as I understand it) it needs to insert a space or some other
>> string so that it can put display property on it.  How to achieve this?
>
> `put-image` maybe?

Oh, thanks!  It looks like I reinvented it (although in a less flexible
form, sufficient for my purposes).  I guess I'll switch to `put-image'.

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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