Sfoglia il codice sorgente

Fix org-persist--remove-from-index

Ihor Radchenko 3 anni fa
parent
commit
1869a37a2c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      lisp/org-persist.el

+ 2 - 1
lisp/org-persist.el

@@ -328,7 +328,8 @@ Return PLIST."
     (when existing
       (org-persist-collection-let collection
         (dolist (cont (cons container container))
-          (org-persist-gc:generic cont collection)
+          (unless (listp (car container))
+            (org-persist-gc:generic cont collection))
           (remhash (cons cont associated) org-persist--index-hash)
           (when path (remhash (cons cont (list :file path)) org-persist--index-hash))
           (when inode (remhash (cons cont (list :inode inode)) org-persist--index-hash))