* Andreas Matthias (2006-09-05) writes:
> David Kastrup wrote:
>
>> Andreas Matthias <[EMAIL PROTECTED]> writes:
>>
>>> I am using \varphi more frequently than \phi, so I tried
>>> to redefine the key mapping of `f to \varphi:
>>>
>>> (setq LaTeX-math-list
>>> '(?f . "varphi"))
>>>
>>> But that didn't work. How do I set LaTeX-math-list correctly?
>>
>> That's not a list, but a single cons.
>>
>> Try
>> (setq LaTeX-math-list
>> '((?f . "varphi")))
>
> Evaluating that /after/ entering a TeX-mode buffer seems to have
> no effect at all.
>
> Evaluating it /before/ entering a TeX-mode buffer produces the
> following error message:
>
> File mode specification error: (wrong-type-argument listp "varphi")
The variable value has to be a list of lists, not a list of cons
cells:
(setq LaTeX-math-list
'((?f "varphi")))
--
Ralf
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex