From aafe4114c2288706c5a7499c29cd5442e3c9e708 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Tue, 25 Jan 2022 21:54:06 -0800 Subject: [PATCH] (fix)node: make filter-fn for org-roam-node-random optional (#2063) Also, make interactive argument actually apply for other-window --- org-roam-node.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-node.el b/org-roam-node.el index 31aa9f1..eeb0ff7 100644 --- a/org-roam-node.el +++ b/org-roam-node.el @@ -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.