|
| From: | Łukasz Gruner |
| Subject: | [O] Bug: `org-get-outline-path' fails on empty heading [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /home/uki/.emacs.d/elpa/org-plus-contrib-20160229/)] |
| Date: | Wed, 02 Mar 2016 02:15:32 +0100 |
--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.
Emacs : GNU Emacs 24.5.1 (x86_64-unknown-cygwin)
of 2015-06-23 on desktop-new
Package: Org-mode version 8.3.4 (8.3.4-5-gdc68d2-elpaplus @
/home/uki/.emacs.d/elpa/org-plus-contrib-20160229/)
| [Prev in Thread] | Current Thread | [Next in Thread] |