Browse Source

Merge branch 'maint'

Nicolas Goaziou 8 năm trước cách đây
mục cha
commit
cadbef99f0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -11621,7 +11621,7 @@ order.")
 	      (org-refile-cache-put tgs (buffer-file-name) descre))
 	    (setq targets (append tgs targets))))))
     (message "Getting targets...done")
-    (nreverse targets)))
+    (nreverse (delete-dups targets))))
 
 (defun org-protect-slash (s)
   (replace-regexp-in-string "/" "\\/" s nil t))