branch: externals/org commit 1869a37a2c72dd799a9b8b3d4b18c535a910557b Author: Ihor Radchenko <yanta...@gmail.com> Commit: Ihor Radchenko <yanta...@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))