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, 01 Apr 2023 17:57:55 +0200
User-agent: mu4e 1.1.0; emacs 30.0.50

On 2023-03-13, at 09:29, Jean Louis <bugs@gnu.support> wrote:

> * Marcin Borkowski <mbork@mbork.pl> [2023-03-08 19:02]:
>> Thanks a lot!  (Also, once I have it working, I will definitely describe
>> it on my blog; I may also copy it here if someone is interested.)
>
> I am interested in feature:
>
> 1. To temporary show image in buffer
>
> 2. To remove that image, as it was temporary shown.
>
> Did you make functions to do that?

https://mbork.pl/2023-04-01_Showing_an_image_between_lines_in_Emacs

As for removing, `remove-overlays' is the nuclear option, and
`delete-overlay' a standard way to remove just one overlay (of course,
for that you need a reference to it).

Hth,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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