mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 02:32:53 +00:00
Expand file names in org-agenda-files (external file case)
Patch by Mikael Fornius.
This commit is contained in:
parent
15ec1c56ad
commit
42589b32c2
|
@ -1,5 +1,9 @@
|
|||
2010-03-24 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-read-agenda-file-list): Interpret file names
|
||||
relative to org-directory and allow environment variables and
|
||||
"~".
|
||||
|
||||
* org-latex.el (org-export-latex-special-chars): Allow a
|
||||
parenthesis before an exponent or subscript.
|
||||
|
||||
|
|
|
@ -14672,8 +14672,11 @@ the buffer and restores the previous window configuration."
|
|||
(when (stringp org-agenda-files)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents org-agenda-files)
|
||||
(org-split-string (buffer-string) "[ \t\r\n]*?[\r\n][ \t\r\n]*"))))
|
||||
|
||||
(mapcar
|
||||
(lambda (f)
|
||||
(expand-file-name (substitute-in-file-name f)
|
||||
(file-name-directory org-agenda-files)))
|
||||
(org-split-string (buffer-string) "[ \t\r\n]*?[\r\n][ \t\r\n]*")))))
|
||||
|
||||
;;;###autoload
|
||||
(defun org-cycle-agenda-files ()
|
||||
|
|
Loading…
Reference in a new issue