[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: (user-variable-p 'TeX-command-default) returns nil
From: |
Leo |
Subject: |
[AUCTeX] Re: (user-variable-p 'TeX-command-default) returns nil |
Date: |
Wed, 10 Oct 2007 05:07:42 +0100 |
User-agent: |
Gnus/5.110007 Emacs/23.0.50 (20070922) Fedora 7 (gnu/linux) |
On 2007-09-24 01:16 +0100, Leo wrote:
> On 2007-09-23 21:06 +0100, Reiner Steib wrote:
>> On Sun, Sep 09 2007, Leo wrote:
>>
>>> I wonder why (user-variable-p 'TeX-command-default) return nil.
>
>>
>> ,----[ <f1> f user-variable-p RET ]
>> | user-variable-p is a built-in function in `src/eval.c'.
>> | (user-variable-p variable)
>> |
>> | Return t if variable is intended to be set and modified by users.
>> | (The alternative is a variable used internally in a Lisp program.)
>> | [...]
>> `----
>>
>> Why do you think that `TeX-command-default' is "intended to be set and
>> modified by users"?
>>
>> Bye, Reiner.
>
> The doc gives an example of setting it in a local variables section.
>
> ,----[ (info "(auctex)Commands") ]
> | If you want to overwrite the values of `TeX-header-end',
> | `TeX-trailer-start', or `TeX-command-default', you can do that for all
> | files by setting them in either `TeX-mode-hook', `plain-TeX-mode-hook',
> | or `LaTeX-mode-hook'. To overwrite them for a single file, define them
> | as file variables (*note File Variables: (emacs)File Variables.). You
> | do this by putting special formatted text near the end of the file.
> |
> | %%% Local Variables:
> | %%% TeX-header-end: "% End-Of-Header"
> | %%% TeX-trailer-start: "% Start-Of-Trailer"
> | %%% TeX-command-default: "SliTeX"
> | %%% End:
> `----
>
> HTH,
Any comment?
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the most powerful email client -- http://gnus.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX] Re: (user-variable-p 'TeX-command-default) returns nil,
Leo <=