Łukasz Gruner <luk...@gruner.lu> writes: > --text follows this line-- > > 1) create a new headline and don't write anything else. > 2) M-x eval-expression and type (org-get-outline-path) > 3) this fails with the following stacktrace: > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > replace-regexp-in-string("\\[[0-9]+%\\]\\|\\[[0-9]+/[0-9]+\\]" "" nil) > org--get-outline-path-1(nil) > org-get-outline-path() > eval((org-get-outline-path) nil) > eval-expression((org-get-outline-path) nil) > call-interactively(eval-expression nil nil) > command-execute(eval-expression) > > in org--get-outline-path-1 the line (org-match-string-no-properties 4) > returns nil.
Thanks for the report. Nicolas fixed this in 105a446 (Fix return value for ‘org-get-outline-path’, 2016-03-01). -- Kyle