mirror of
https://github.com/org-roam/org-roam
synced 2025-08-03 12:27:23 -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))
|
(let* ((nodes (org-roam-node-read--completions))
|
||||||
(nodes (if filter-fn
|
(nodes (if filter-fn
|
||||||
(cl-remove-if-not
|
(cl-remove-if-not
|
||||||
(lambda (n) (funcall filter-fn (cdr n)) t))
|
(lambda (n) (funcall filter-fn (cdr n)))
|
||||||
|
nodes)
|
||||||
nodes))
|
nodes))
|
||||||
(sort-fn (or sort-fn
|
(sort-fn (or sort-fn
|
||||||
(when org-roam-node-default-sort
|
(when org-roam-node-default-sort
|
||||||
|
Reference in New Issue
Block a user