"Dr. Arne Babenhauserheide" <arne_...@web.de> writes:

> [[PGP Signed Part:Good signature from DCCF0DB30BC10548 Arne Babenhauserheide 
> (Physikliebhaber, Hobbysänger und Ideenspringquell) <arne_...@web.de> (trust 
> full) created at 2025-07-29T15:31:18+0800 using RSA
> Good signature from 13EF8D452403C3EB Arne Babenhauserheide (Drak) 
> <arne_...@web.de> (trust undefined) created at 2025-07-29T15:31:18+0800 using 
> RSA]]
> William Denton <will...@williamdenton.org> writes:
>> And I use this hook.  Is this the right way to do it?
>>
>> # -----
>> (add-hook 'org-babel-after-execute-hook 'org-link-preview-refresh)
>> # -----
>>
>> I think that refreshes all the images in the buffer, but what if I just want 
>> it to refresh the one that was just changed, the one made by the code block 
>> where I just hit C-c C-c?  
>
> I’d like to also know this.
>
> My current workaround is to open the image in a second buffer (and
> activate auto-revert-mode).
>
> Best wishes,
> Arne

(add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images) ?

I think it also "refreshes" all of the images in a buffer, but I have
never met a case when this would be a limiting factor.

-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)

Attachment: signature.asc
Description: PGP signature

Reply via email to