Hi, I've encountered a problem with `org-get-outline-path' (as of today) which fails if the (optional) argument `level' is nil. The error occured when calling `org-archive-subtree'. The following fixes it for me.
--- org.el.orig 2008-12-17 09:55:44.000000000 +0100 +++ org.el 2008-12-17 10:23:38.000000000 +0100 @@ -7542,7 +7542,7 @@ (defun org-get-outline-path (&optional fastp level heading) "Return the outline path to the current entry, as a list." - (if (> level 19) (error "Outline path failure, more than 19 levels.")) + (if (and level (> level 19)) (error "Outline path failure, more than 19 levels.")) (if fastp (progn (loop for i from level upto 19 do
Ulf
_______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode