Add `grok-org-element-parse-whole-buffer' command
This commit is contained in:
parent
540d604079
commit
41a1de66e2
@ -3957,6 +3957,12 @@ non-interactive =org-element= functions to an =Emacs-lisp= buffer.
|
|||||||
(pp-display-expression
|
(pp-display-expression
|
||||||
(org-element-parse-buffer what) grok-org-output)))
|
(org-element-parse-buffer what) grok-org-output)))
|
||||||
|
|
||||||
|
(defun grok-org-element-parse-whole-buffer ()
|
||||||
|
"Like `grok-org-element-parse-buffer' from point 1 and sans granularity."
|
||||||
|
(interactive)
|
||||||
|
(org-with-point-at 1
|
||||||
|
(pp-display-expression (org-element-parse-buffer) grok-org-output)))
|
||||||
|
|
||||||
(defun grok-org-heading-components ()
|
(defun grok-org-heading-components ()
|
||||||
"Call `org-heading-components' interactively and pretty-print."
|
"Call `org-heading-components' interactively and pretty-print."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
Loading…
Reference in New Issue
Block a user