On 05/21/2010 01:43 AM, Fritz Kunze wrote:
> MY TASKS -*- mode: org; fill-column: 78; after-save-hook:
> (archive-done-tasks)   -*-

If my understanding is correct, archive-done-tasks is evaluated when the
file is loaded, which I guess is not your intention. (You want to set
after-save-hook to '(archive-done-tasks), not to the result of
evaluating (archive-done-tasks)).

I can imagine that this causes the crash (maybe org has not been fully
initialized for that buffer at this point?).

Try quoting (archive-done-tasks) like this:

MY TASKS -*- mode: org; fill-column: 78; after-save-hook:
'(archive-done-tasks)   -*-


HTH, Jan

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to