]> git.donarmstrong.com Git - lib.git/commitdiff
just load the hook directly
authorDon Armstrong <don@donarmstrong.com>
Sun, 21 Feb 2016 02:59:09 +0000 (18:59 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 1 Mar 2016 01:32:38 +0000 (17:32 -0800)
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