Preserve targets order according to rules
* lisp/org.el (org-refile-get-targets): Keep targets grouped according to `org-refile-targets' value.
This commit is contained in:
parent
7560a49459
commit
d7599e3f27
|
@ -11825,7 +11825,7 @@ order.")
|
|||
(org-refile-cache-put tgs (buffer-file-name) descre))
|
||||
(setq targets (append tgs targets))))))
|
||||
(message "Getting targets...done")
|
||||
(nreverse (delete-dups targets))))
|
||||
(delete-dups (nreverse targets))))
|
||||
|
||||
(defun org-protect-slash (s)
|
||||
(replace-regexp-in-string "/" "\\/" s nil t))
|
||||
|
|
Loading…
Reference in New Issue