mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
Fix `filter-fn` not working like its supposed to.
This commit is contained in:
@ -443,7 +443,8 @@ If REQUIRE-MATCH, the minibuffer prompt will require a match."
|
||||
(let* ((nodes (org-roam-node-read--completions))
|
||||
(nodes (if filter-fn
|
||||
(cl-remove-if-not
|
||||
(lambda (n) (funcall filter-fn (cdr n)) t))
|
||||
(lambda (n) (funcall filter-fn (cdr n)))
|
||||
nodes)
|
||||
nodes))
|
||||
(sort-fn (or sort-fn
|
||||
(when org-roam-node-default-sort
|
||||
|
Reference in New Issue
Block a user