[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font Lock Mode only highlights strings

From: Gregory Stark
Subject: Re: Font Lock Mode only highlights strings
Date: Wed, 30 Aug 2006 09:51:46 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Gregory Stark <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]