[Top][All Lists]

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

Re: `font-lock-add-keywords' works... sometimes

From: Stefan Monnier
Subject: Re: `font-lock-add-keywords' works... sometimes
Date: Tue, 19 Mar 2019 12:44:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> but not this
>     (font-lock-add-keywords 'text-mode
>      '(
>        ("yellow" . font-lock-function-name-face)
>       )
>      t) ; append [3]

You'd first have to clarify what you mean by "work", but my crystal ball
suggests that text-m,ode does not enable font-lock by default, contrary
to message-mode.


reply via email to

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