[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] TeX-command-master fails if fun 'file' is defined.

From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] TeX-command-master fails if fun 'file' is defined.
Date: Fri, 05 Oct 2007 20:27:16 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

* 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]