Hello, Emilio Francesquini <francesqu...@gmail.com> writes:
> Consider the following snippet of org > > - First item. I'm just writing something longer so that the minimum > number of characters is reached. > > Anywhere on the second line, calls to org-list-struct fail with the > error: "Wrong type argument: number-or-marker-p, nil". This is not a bug. The function `org-list-struct' has to be called on an item, not anywhere within an item. BTW, it is an internal function. You may want to use `org-element-at-point' instead. Regards, -- Nicolas Goaziou