Hi Tassilo and Keita,

Tassilo Horn <t...@gnu.org> writes:

> Ikumi Keita <ik...@ikumi.que.jp> writes:
>
>> When "View" command is issued, TeX-command-expand calls
>> TeX-view-command-raw, which in turn calls TeX-command-expand with the
>> second argument being nil. This second call of TeX-command-expand
>> overwrites the dynamic scope variable TeX-file-fn with wrong value, so
>> the error occurs after emacs continues the execution of the first
>> TeX-command-expand.
>>
>> Attached is a conceptual patch to fix the problem.
>
> I worked upon your patch and committed that.  Should work again.
> TeX-file-fn is now gone and one should simply use `TeX-active-master' in
> TeX-expand-list{,-builtin} where formally `file' (and then
> `TeX-file-fn') has been used.

Thanks for the analysis and the fix.  "View" works again.

Best, Arash

Reply via email to