]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/configuration/org-mode-configuration.el
just load the hook directly
[lib.git] / emacs_el / configuration / org-mode-configuration.el
index eb850a27b3b167ef7988d43632de4b46920b0447..c6e758ac1d7d5bdc369347d15741161bf31f406c 100644 (file)
@@ -474,10 +474,8 @@ Maildir, or by Message-ID."
   (when org-inline-image-overlays
     (org-redisplay-inline-images)))
 
-(after-loading
- 'org
- (add-hook 'org-babel-after-execute-hook
-           'my/fix-inline-images))
+(add-hook 'org-babel-after-execute-hook
+           'my/fix-inline-images)
 
 ;; ;; org latex
 ;; ;; stolen from http://kieranhealy.org/esk/kjhealy.html