On Fri, Jun 23, 2017 at 9:45 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Rasmus <rasmus@gmx.us> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>
>> `backward-paragraph' may be a bit heavy.
>>
>> Anyway we shouldn't use this function at all. Why do you need it?
>
> It's used by a couple of org-cdlatex-* functions,
> e.g. org-cdlatex-math-modify.

Then these calls should be replaced with `org-element-context', unless
the callers may be used in partially written LaTeX snippets.

Yes, these can be used in partially written fragments.

Carsten