lib/org-converge.rb in org-converge-0.0.5 vs lib/org-converge.rb in org-converge-0.0.6
- old
+ new
@@ -9,18 +9,21 @@
class Parser
# This would return a babel output buffer which has the methods
# needed in order to be able to tangle the files
def babelize
+ mark_trees_for_export
+
# Feed the parsed contens and create the necessary internal structures
# for doing babel like features
output = ''
babel_options = {
:in_buffer_settings => @in_buffer_settings
}
ob = BabelOutputBuffer.new(output, babel_options)
translate(@header_lines, ob)
@headlines.each do |headline|
+ next if headline.export_state == :exclude
translate(headline.body_lines, ob)
end
ob
end