Format the ast.
This commit is contained in:
parent
33a69fbe0e
commit
6a0dc2fc62
@ -1,6 +1,9 @@
|
||||
(defun org-dump-ast (outpath)
|
||||
(let
|
||||
((parsed-tree (format "%s" (org-element-parse-buffer))))
|
||||
(
|
||||
;; (parsed-tree (format "%s" (org-element-parse-buffer)))
|
||||
(parsed-tree (pp-to-string (org-element-parse-buffer)))
|
||||
)
|
||||
(with-temp-file outpath
|
||||
(insert parsed-tree)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user