mirror of
https://github.com/org-roam/org-roam
synced 2025-09-16 15:56:48 -05:00
Fix cache building
This commit is contained in:
@@ -146,7 +146,7 @@ Valid states are 'visible, 'exists and 'none."
|
|||||||
(contents-hash (gethash path backlinks)))
|
(contents-hash (gethash path backlinks)))
|
||||||
(if contents-hash
|
(if contents-hash
|
||||||
(if-let ((contents-list (gethash relative-file contents-hash)))
|
(if-let ((contents-list (gethash relative-file contents-hash)))
|
||||||
(let ((updated (append content contents-list)))
|
(let ((updated (cons content contents-list)))
|
||||||
(puthash relative-file updated contents-hash)
|
(puthash relative-file updated contents-hash)
|
||||||
(puthash path contents-hash backlinks))
|
(puthash path contents-hash backlinks))
|
||||||
(puthash relative-file (list content) contents-hash)
|
(puthash relative-file (list content) contents-hash)
|
||||||
|
Reference in New Issue
Block a user