Hi Tak-san,

>>>>> Tak Kunihiro <[email protected]> writes:
> I got a recipe as described below.
 
>  (defun sesame-TeX-jobname ()
>    "Return option `-jobname' or empty string."
>    (TeX-active-master-with-quotes nil t)
>    ;; " -jobname=LaTexMkJob"
>    "")
 
>  (defun sesame-TeX-outdir (&optional looptex-p)
>    "Return option `-outdir' or empty string."
>    (TeX-active-master-with-quotes nil t)
>    " -outdir=~/deleteme.d")

Please remove `(TeX-active-master-with-quotes nil t)' from the both
functions.  The return value of the form is not used at all and this
moves forward the position in the expanding string where analysis takes
place at wrong position.

> It seems that when TeX-active-master-with-quotes is called
> from TeX-command-expand, something happens.

Yes, that's the reason.

Regards,
Ikumi Keita

Reply via email to