From 58c2555992067c88d0bc5d46ba377aa8a22725b0 Mon Sep 17 00:00:00 2001 From: Bruce D'Arcus Date: Sat, 23 Jul 2022 15:27:42 -0400 Subject: [PATCH] Add code comment in important place --- citar-org-roam.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/citar-org-roam.el b/citar-org-roam.el index f7f0821..cdbbf3d 100644 --- a/citar-org-roam.el +++ b/citar-org-roam.el @@ -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))