Remove duplicates in refile targets
* lisp/org.el (org-refile-get-targets): Remove duplicates in refile targets.
This commit is contained in:
parent
0de7ad0430
commit
7560a49459
|
@ -11825,7 +11825,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))
|
||||
|
|
Loading…
Reference in New Issue