summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2010-09-07 23:50:27 -0600
committerEric Schulte <schulte.eric@gmail.com>2010-09-07 23:50:27 -0600
commit58fe37129900a6a34e19df504f63a83cdcdee0ee (patch)
tree03950bcbff364f2cf9909e3f9a8c8e00586e44ad
parent5bdea686ed69c7dc14e512f13bff344f1378370a (diff)
downloadorg-mode-58fe37129900a6a34e19df504f63a83cdcdee0ee.tar.gz
org-exp-blocks now expands blocks *after* including files
* lisp/org-exp-blocks.el (org-export-preprocess-after-include-files-hook): now using this hook instead of `org-export-preprocess-hook'
-rw-r--r--lisp/org-exp-blocks.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
index b9c6fc1..430d7d5 100644
--- a/lisp/org-exp-blocks.el
+++ b/lisp/org-exp-blocks.el
@@ -201,7 +201,8 @@ which defaults to the value of `org-export-blocks-witheld'."
(interblock start (point-max))
(run-hooks 'org-export-blocks-postblock-hook)))))
-(add-hook 'org-export-preprocess-hook 'org-export-blocks-preprocess)
+(add-hook 'org-export-preprocess-after-include-files-hook
+ 'org-export-blocks-preprocess)
;;================================================================================
;; type specific functions