[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fight: font-lock.el 1.289 vs. cc-defs.el
From: |
Alan Mackenzie |
Subject: |
Re: Fight: font-lock.el 1.289 vs. cc-defs.el |
Date: |
Tue, 31 Jan 2006 14:13:01 +0000 (GMT) |
On Mon, 30 Jan 2006, Richard M. Stallman wrote:
> I'm asking that this change to font-lock.el be reconsidered, though I
> admit I don't know the problem it fixes.
>
>It detects a kind of problem that was hard to debug, when it occurred.
>I decided we needed to make such problems show themselves. I don't
>remember the details, but there was probably another change around the
>same time which fixed the specific problem.
>
> CC Mode calls (font-lock-compile-keywords "\\<\\>") at initialisation, to
> test for a bug in middle aged XEmacsen which splatted font-lock-keywords.
> The new check in V1.289 causes CC Mode to bail out with an error.
>
>I suggest you test that condition only on XEmacs.
Will do!
As a matter of interest, to anybody who's interested, (featurep 'xemacs)
is a good way of distinguishing the two Emacsen.
--
Alan.