(fix)node: make filter-fn for org-roam-node-random optional (#2063)

Also, make interactive argument actually apply for other-window
This commit is contained in:
Jethro Kuan
2022-01-25 21:54:06 -08:00
committed by GitHub
parent 3e2716edf3
commit aafe4114c2

View File

@ -477,7 +477,7 @@ The TEMPLATES, if provided, override the list of capture templates (see
:props '(:finalize find-file)))))
;;;###autoload
(defun org-roam-node-random (filter-fn &optional other-window)
(defun org-roam-node-random (&optional other-window filter-fn)
"Find and open a random Org-roam node.
With prefix argument OTHER-WINDOW, visit the node in another
window instead.