bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32027: AW: bug#32027: 26.1; variable font-lock-major-mode is nil in


From: Lars Ingebrigtsen
Subject: bug#32027: AW: bug#32027: 26.1; variable font-lock-major-mode is nil in text-mode
Date: Wed, 30 Oct 2019 19:51:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Benjamin Orthen <benjamin.orthen@tum.de> writes:

>> Because Text mode doesn't set up any font-lock related settings, no?
>
> But why does running M-x font-lock-mode twice (disabling and enabling
> font-lock) in a text buffer set
>
> global-font-lock-mode to text-mode then? I would consider that kind of erratic
> behavior.

I think this is the way it's supposed to work -- that font-lock-mode
variable is just there to keep track of whether we've set up the current
mode for font locking (even if there is no font locking taking place, as
in text mode buffer).

So I don't think there is a bug here, and I'm closing this bug report.
If I've misunderstood, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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