Add small utility to quickly update complex Org reports
This commit is contained in:
parent
bac4fb389a
commit
661c5f9b22
1
init.el
1
init.el
@ -544,6 +544,7 @@
|
||||
hydra-org-clock/body
|
||||
hydra-org-jump/body
|
||||
hydra-org-custom/body
|
||||
db/org-execute-babel-in-buffer-and-iterate-tables
|
||||
db/make-org-capture-frame
|
||||
db/org-onenote-open
|
||||
db/org-outlook-open
|
||||
|
||||
@ -1304,6 +1304,15 @@ headlined with their date."
|
||||
|
||||
(reverse result)))
|
||||
|
||||
(defun db/org-execute-babel-in-buffer-and-iterate-tables ()
|
||||
"Update all babel source blocks in current buffer and iterate tables afterwards.
|
||||
|
||||
This is useful for updating complex reports that rely on a mix of
|
||||
Org Babel source blocks and dependent tables."
|
||||
(interactive)
|
||||
(org-babel-execute-buffer)
|
||||
(org-table-iterate-buffer-tables))
|
||||
|
||||
|
||||
;;; Checklist Handling
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user