[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Live refresh of inline images with org-display-inline-images stopped
From: |
Sebastien Vauban |
Subject: |
[O] Live refresh of inline images with org-display-inline-images stopped working |
Date: |
Thu, 22 Jan 2015 14:34:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) |
Nick Dokos wrote:
> Brett Viren <address@hidden> writes:
>> Nick Dokos <address@hidden> writes:
>>
>>> I think you'd be better off with the tip that Rick Frankel posted in
>>> the same thread:
>>>
>>> #+BEGIN_SRC emacs-lisp
>>> (add-hook 'org-babel-after-execute-hook
>>> (lambda () (org-display-inline-images nil t)))
>>> #+END_SRC
>>
>> Thanks Nick (and Rick). I changed this to use the "re" version:
>>
>> #+BEGIN_SRC emacs-lisp
>> (add-hook 'org-babel-after-execute-hook
>> (lambda () (org-redisplay-inline-images)))
>> #+END_SRC
>>
>> and it works great!
>
> It should work with the non-"re" version as well (and it is more
> efficient that way - particularly if you call it with refresh == t).
As experienced by wdkmls [1], I noticed that the non-"re" version
stopped working -- preferred as it was the most efficient one.
OTOH, the "re" version does work as expected.
Best regards,
Seb
[1]
http://emacs.stackexchange.com/questions/3302/live-refresh-of-inline-images-with-org-display-inline-images
--
Sebastien Vauban
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Live refresh of inline images with org-display-inline-images stopped working,
Sebastien Vauban <=