branch: externals/org-mem
commit d91b1f190c4fe3c77549afe34aede112c970e592
Author: Martin Edström <[email protected]>
Commit: Martin Edström <[email protected]>

    Fix list-dead-id-links (wrong-type-argument org-mem-entry nil)
    
    This occurred when you had entries that lack ID of their own, but that
    contain ID-links to elsewhere.
---
 org-mem-list.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/org-mem-list.el b/org-mem-list.el
index 76d1cb3f94..74bce1e92b 100644
--- a/org-mem-list.el
+++ b/org-mem-list.el
@@ -146,8 +146,7 @@ To automatically warn, set 
`org-mem-do-warn-title-collisions'."
        :entries
        (cl-loop
         for (target . link) in dead-links
-        as origin-id = (org-mem-link-nearby-id link)
-        as entry = (org-mem-entry-by-id origin-id)
+        as entry = (org-mem-link-entry link)
         collect
         (list (sxhash link)
               (vector target

Reply via email to