(feat)capture: add org-roam-post-node-insert-hook (#2125)

* (feat): add org-roam-post-node-insert-hook

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
This commit is contained in:
lafirest
2022-03-15 14:24:55 +08:00
committed by GitHub
parent cce6a05630
commit b4f14eebae
3 changed files with 21 additions and 6 deletions

View File

@ -122,6 +122,12 @@ All Org files, at any level of nesting, are considered part of the Org-roam."
:group 'org-roam
:type 'hook)
(defcustom org-roam-post-node-insert-hook nil
"Hook run when an Org-roam node is inserted as an Org link.
Each function takes two arguments: the id of the node, and the link description."
:group 'org-roam
:type 'hook)
(defcustom org-roam-file-extensions '("org")
"List of file extensions to be included by Org-Roam.
While a file extension different from \".org\" may be used, the