Selaa lähdekoodia

Fix bug with access to agenda files when resolving clocks

Carsten Dominik 15 vuotta sitten
vanhempi
commit
4fd182b936
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 1 - 0
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>
 

+ 1 - 1
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))