On Fri, 2005-02-18 at 12:25 +1000, Steve Youngs wrote:
* Mats Lidell <matsl(a)xemacs.org> writes:
> Considering the current problem, with the missing
> font-lock-constant-face, is that possible to fix in some decent
> way?
In the .el in question...
(when (and (featurep 'xemacs)
(eq emacs-major-version 21)
(eq emacs-minor-version 1))
(make-face 'font-lock-constant-face))
...would probably do it.
Can't the definedness of font-lock-constant-face be tested instead of
doing version checks?
font-lock-constant-face was added in 21.4.9 and 21.5.9.