Function: hywiki-add-org-roam-node
hywiki-add-org-roam-node is an interactive and byte-compiled function
defined in hywiki.el.
Signature
(hywiki-add-org-roam-node WIKIWORD)
Documentation
Make WIKIWORD display an Org Roam Node and return the action.
If WIKIWORD is invalid, trigger an error if called interactively or return nil if not.
After successfully adding the action, run hywiki-add-referent-hook.
Use hywiki-get-referent to determine whether WIKIWORD exists prior to
calling this function.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hywiki.el
(defun hywiki-add-org-roam-node (wikiword)
"Make WIKIWORD display an Org Roam Node and return the action.
If WIKIWORD is invalid, trigger an error if called interactively
or return nil if not.
After successfully adding the action, run `hywiki-add-referent-hook'.
Use `hywiki-get-referent' to determine whether WIKIWORD exists prior to
calling this function."
(interactive (list (or (hywiki-word-at)
(hywiki-word-read-new "Add/Edit HyWikiWord: "))))
(hypb:require-package 'org-roam)
(let ((node-title (org-roam-node-title (org-roam-node-read))))
(hywiki-add-referent wikiword (cons 'org-roam-node node-title))))