[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.84; Font replacing doesn't work for unbalanced paren
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] 11.84; Font replacing doesn't work for unbalanced parentheses. |
Date: |
Mon, 05 Mar 2007 22:30:36 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
* David Kastrup (2007-03-05) writes:
> Ralf Angeli <address@hidden> writes:
>
>> * David Kastrup (2007-03-05) writes:
>>
>>> Couldn't we just start with
>>>
>>> (setq TeX-search-syntax-table (make-char-table 'syntax-table nil))
>>>
>>> ?
>>
>> Does that return a valid syntax table? I thought one had to feed the
>> return value of `make-char-table' to `make-syntax-table' to be
>> usable. (The second argument defaults to nil anyway, BTW.)
>
> Well, it is what make-syntax-table actually does (apart from the
> inheritance thingy).
Ugh, I got it backwards. In tex.el we currently have basically
(make-syntax-table (make-char-table 'syntax-table))
In order to prevent `make-syntax-table' from inheriting from the
standard syntax table the output of `make-char-table' (initialized
with nil values) is used as parameter.
--
Ralf