Re: [O] trying to automatically refresh inline images after org-babel-execute:ditaa

2016-10-11 Thread Grant Rettke
On Tue, Oct 11, 2016 at 12:01 PM, Stig Brautaset wrote: > Hello! > > I'm trying to automatically update inline ditaa images, by adding this > advice: > > , > | (advice-add 'org-babel-execute:ditaa > | :after > | (lambda (a &rest b) > | (message "my

[O] trying to automatically refresh inline images after org-babel-execute:ditaa

2016-10-11 Thread Stig Brautaset
Hello! I'm trying to automatically update inline ditaa images, by adding this advice: , | (advice-add 'org-babel-execute:ditaa | :after | (lambda (a &rest b) | (message "my sage advice") | (org-redisplay-inline-images))) ` Whe