branch: externals/org
commit dabf682588d59ba2a28e2229383651d8ac740ba3
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    org-persist--merge-index: Fix incorrect call to `cl-set-difference'
    
    * lisp/org-persist.el (org-persist--merge-index):
    
    Reported-by: Umar Ahmad <ahmad.umar2...@yahoo.in>
    Link: 
https://orgmode.org/list/CAFHo54c94Q4rYiSDFHJm5whpHs56t9JYg+Ab=arxbcgg6po...@mail.gmail.com
---
 lisp/org-persist.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-persist.el b/lisp/org-persist.el
index 16a3ab5d39..d2c5f67608 100644
--- a/lisp/org-persist.el
+++ b/lisp/org-persist.el
@@ -976,7 +976,7 @@ Otherwise, return t."
 Items with different details are considered too difficult, and skipped."
   (if other
       (if (not base) other
-        (let ((new (cl-set-difference other base :test 
#'org-persist--find-index))
+        (let ((new (cl-set-difference other base :key 
#'org-persist--find-index))
               (base-files (mapcar (lambda (s) (plist-get s :persist-file)) 
base))
               (combined (reverse base)))
           (dolist (item (nreverse new))

Reply via email to