Merge dc4bf65320 into 4b8330a683
This commit is contained in:
commit
a8c8291dd6
1 changed files with 4 additions and 1 deletions
|
|
@ -117,7 +117,10 @@ which see (but only the files are used)."
|
||||||
(cl-loop for (files-spec . _candidate-spec) in org-refile-targets
|
(cl-loop for (files-spec . _candidate-spec) in org-refile-targets
|
||||||
append (cl-typecase files-spec
|
append (cl-typecase files-spec
|
||||||
(null (list (current-buffer)))
|
(null (list (current-buffer)))
|
||||||
(symbol (pcase (funcall files-spec)
|
(function (pcase (funcall files-spec)
|
||||||
|
((and (pred stringp) file) (list file))
|
||||||
|
((and (pred listp) files) files)))
|
||||||
|
(symbol (pcase (eval files-spec)
|
||||||
((and (pred stringp) file) (list file))
|
((and (pred stringp) file) (list file))
|
||||||
((and (pred listp) files) files)))
|
((and (pred listp) files) files)))
|
||||||
(list files-spec)))))))
|
(list files-spec)))))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue