--- 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