org-agenda.el (org-get-entries-from-diary): Turn off `diary-file-name-prefix'
authorBastien Guerry <bzg@altern.org>
Thu, 10 Jan 2013 11:15:24 +0000 (12:15 +0100)
committerBastien Guerry <bzg@altern.org>
Thu, 10 Jan 2013 11:15:24 +0000 (12:15 +0100)
* org-agenda.el (org-get-entries-from-diary): Turn off
`diary-file-name-prefix' instead of
`diary-file-name-prefix-function', the former is checked
before the latter.

Thanks to Andreas Merziger for reporting this as Emacs bug#13396.

lisp/org-agenda.el

index 2eb96c2..5182d8b 100644 (file)
@@ -4974,7 +4974,7 @@ of what a project is and how to check if it stuck, customize the variable
         (pop-up-frames nil)
         (diary-list-entries-hook
          (cons 'org-diary-default-entry diary-list-entries-hook))
-        (diary-file-name-prefix-function nil) ; turn this feature off
+        (diary-file-name-prefix nil) ; turn this feature off
         (diary-modify-entry-list-string-function 'org-modify-diary-entry-string)
         entries
         (org-disable-agenda-to-diary t))