emacs-devel
[Top][All Lists]
Advanced

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

Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021


From: Stefan Monnier
Subject: Re: 'M-o' ('facemap-keymap') has now been removed until March 10th 2021
Date: Wed, 24 Mar 2021 17:58:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Btw, the "without font-lock-mode active" part is not the situation I
> was talking about.  Remember: global-font-lock-mode is now t by
> default, so bumping into a buffer where font-lock-mode isn't active is
> quite hard...

FWIW, `text-mode` *is* in that category, which is why
`font-lock-fontify-block` does something (i.e. erase `face` properties).

In `text-mode`, `font-lock-mode` is t (if you use default config) yet
font-lock is not actually activated because `font-lock-keywords` is nil.
This is because of the `font-lock-specified-p` test in
`font-lock-default-function`.

I don't much like this distinction between "`font-lock-mode` is non-nil"
and "the font-lock machinery is actually activated".


        Stefan




reply via email to

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