Allow file names relative to org-directory in org-agenda-files
When using relative file names, this may cause problems in staging.
This commit is contained in:
parent
6e9fce5869
commit
d4becc70e1
|
@ -196,6 +196,8 @@ using `rsync' or `scp'.")
|
|||
;; Make the files unique, and determine the name under which they will
|
||||
;; be listed.
|
||||
(while (setq file (pop files))
|
||||
(if (not (file-name-absolute-p file))
|
||||
(setq file (expand-file-name file org-directory)))
|
||||
(setq uname (file-truename file))
|
||||
(unless (member uname seen)
|
||||
(push uname seen)
|
||||
|
|
Loading…
Reference in New Issue