mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-21 19:18:41 +00:00
[emacs] Reload images on source execution
This commit is contained in:
parent
e024a39597
commit
c63b6875f8
1 changed files with 9 additions and 0 deletions
|
@ -612,6 +612,15 @@ be based on their headings.
|
|||
:after ox
|
||||
:commands ox-confluence-en-export-as-confluence)
|
||||
#+end_src
|
||||
** Reload images on source execution
|
||||
#+begin_src emacs-lisp
|
||||
(defun my/redisplay-org-images ()
|
||||
(when org-inline-image-overlays
|
||||
(org-redisplay-inline-images)))
|
||||
|
||||
(add-hook 'org-babel-after-execute-hook
|
||||
'my/redisplay-org-images)
|
||||
#+end_src
|
||||
* MU4E
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! mu4e
|
||||
|
|
Loading…
Reference in a new issue