Skip to content

Commit

Permalink
Add code comment in important place
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Jul 23, 2022
1 parent a6cfcb8 commit 58c2555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions citar-org-roam.el
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
"Return function to check for notes.
When given a citekey, return non-nil if there's an associated
note."
;; Lookup performance for this function needs to be as fast as possible, so we
;; use a hash-table.
(let ((hasnotes (make-hash-table :test 'equal)))
(dolist (citekey (citar-org-roam-keys-with-notes))
(puthash citekey t hasnotes))
Expand Down

0 comments on commit 58c2555

Please sign in to comment.