* Bjørn Haagensen (2007-10-05) writes:

> If a function 'file' is defined running 'TeX-command-master' fails
> with the following backtrace:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda nil
> (interactive)) 2)
>   file(t t)
>   apply(file (t t))
>   TeX-command-expand("%l \"%(mode)\\input{%t}\"" TeX-master-file)
>   TeX-command("LaTeX" TeX-master-file nil)
>   TeX-command-master(nil)
>   call-interactively(TeX-command-master)

An easy way out would be to rename the symbol to something less generic,
e.g. `TeX-master-or-region-file'.  A nicer way would be to get rid of
the whole awkward construct of a locally defined function.

-- 
Ralf


_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to