Kaushal Modi <kaushal.m...@gmail.com> writes: > @Nick Dokos Are you are on a commit before or after this lexical binding > change? http://orgmode.org/ > cgit.cgi/org-mode.git/commit/?id=8bccb2131374bba8c82c2774abb34af488826ce4 > > The failure symtoms in my backtrace look like they could be related to this > change.
I think that is right. The problem seems to be with the search-refs function defined in the let* in org-latex--delayed-footnotes-definitions and passed down to org-element-map which tries to find it in the lexical environment and fails. -- Nick