I have just started to learn perl and was going through the cperl
faces to darken one. I stumbled across two faces that looked very
interesting and very out of place (the default background is the emacs
lightyellow2). These where `Cperl Array Face' and `Cperl Hash
Face'. This looked very useful to us extreme perl novices.
However, the faces where not showing up on my screen. I did a quick
check in the cperl-mode.el file and on line 5802 found the following
code:
(and (fboundp 'turn-on-font-lock) ; Check for newer font-lock
(not cperl-xemacs-p) ; not yet as of XEmacs 19.12
If you comment out the (not cperl-xemacs-p) line, the two faces seem
to work. Does anybody remember/know why this was put in and whether it
is safe to remove it now. I am running the lotsa ones release
(21.1.11) of XEmacs and prog-modes version 1.28.
Also, the comment for the `Cperl Nonoverridable Face' seems to come
from the `Cperl Array Face' and does not really describe what the face
does.
Thanks,
Sean "Perl Peon" MacLennan
--