[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font Lock Mode only highlights strings
From: |
martin |
Subject: |
Re: Font Lock Mode only highlights strings |
Date: |
Wed, 30 Aug 2006 20:28:29 +0200 |
User-agent: |
Emacs Gnus |
>>>>> Gregory Stark <stark@enterprisedb.com> writes:
> Gregory Stark <stark@enterprisedb.com> writes:
>> The only code in my .emacs that seems to relate to font-lock-mode
>> is this which I do in my c-mode-hook:
>>
>> (font-lock-mode 1) (set-face-foreground 'font-lock-string-face
>> "cyan")
>
> and when I remove that set-face-foreground then *nothing* gets
> highlighted.
>
> it's as if font-lock-mode isn't actually setting up its faces. It
> just leaves them set to the default green on black.
>
> -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
>
>
>
Hi,
start emacs with the command line options --no-site-file and
-no-init-file and look at your c-sourcecode.
Fontlocking works very well for me with
GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195) of 2006-07-31 on DTOP
and
GNU Emacs 23.0.0.1 (i386-mingw-nt5.0.2195) of 2006-07-31 on DTOP
Martin
--
parozusa at web dot de