diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2009-10-27 16:29:26 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2009-10-27 16:29:26 +0100 |
commit | 4fd182b936a74f2ee8909be6ec58599d16a50a27 (patch) | |
tree | 275ec221fe166b800c3675a76af4ecebf49dd085 | |
parent | 79bcdbe73667be7ad811c1f2facd419cbef90426 (diff) |
Fix bug with access to agenda files when resolving clocksrelease_6.32b
-rwxr-xr-x | lisp/ChangeLog | 1 | ||||
-rw-r--r-- | lisp/org.el | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1983aaeeb..3c9939b45 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2009-10-27 Carsten Dominik <carsten.dominik@gmail.com> * org.el (org-default-properties): Add STYLE property. + (org-files-list): Use the function call to get the files. 2009-10-26 Carsten Dominik <carsten.dominik@gmail.com> diff --git a/lisp/org.el b/lisp/org.el index ed36c45cb..d72034778 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5362,7 +5362,7 @@ are at least `org-cycle-separator-lines' empty lines before the headline." "Return `org-agenda-files' list, plus all open org-mode files. This is useful for operations that need to scan all of a user's open and agenda-wise Org files." - (let ((files (mapcar 'expand-file-name org-agenda-files))) + (let ((files (mapcar 'expand-file-name (org-agenda-files)))) (dolist (buf (buffer-list)) (with-current-buffer buf (if (and (eq major-mode 'org-mode) (buffer-file-name)) |