help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Re: font lock for text mode


From: Jason Rumney
Subject: [h-e-w] Re: font lock for text mode
Date: 11 Jan 2002 19:48:00 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

"Jeff Rancier" <address@hidden> writes:

> That code in fact marks up as red on yellow for all the text on the line.  I
> tried the same for text-mode, and get no font lock.  It works on c-mode,
> jde-mode, emacs-lisp-mode, and visual-basic-mode, but not on text-mode.

global-font-lock-mode will not enable font-lock in text-mode (since by
default there is nothing to font-lock), so you probably need to
explicitly enable it with "M-x font-lock-mode" or a mode hook.

-- 
Jason Rumney




reply via email to

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