Skip to content

Commit

Permalink
Make it explicit that resources is initialized as nil
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarte authored Sep 24, 2023
1 parent b60db1e commit 90f3242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk.el
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ Backlinks and Links-in-Note are grouped separately."
(let* ((id (zk--file-id buffer-file-name))
(backlinks (ignore-errors (zk--backlinks-list id)))
(links-in-note (ignore-errors (zk--links-in-note-list)))
(resources))
(resources nil))
(if (or backlinks links-in-note)
(progn
(dolist (file links-in-note)
Expand Down

0 comments on commit 90f3242

Please sign in to comment.