emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 1869a37a2c 10/31: Fix org-persist--remove-from-inde


From: ELPA Syncer
Subject: [elpa] externals/org 1869a37a2c 10/31: Fix org-persist--remove-from-index
Date: Sat, 29 Jan 2022 04:58:02 -0500 (EST)

branch: externals/org
commit 1869a37a2c72dd799a9b8b3d4b18c535a910557b
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    Fix org-persist--remove-from-index
---
 lisp/org-persist.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index c4c185dc1c..0e8fd50509 100644
--- a/lisp/org-persist.el
+++ b/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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]