|
From: | Benjamin Orthen |
Subject: | bug#32027: AW: bug#32027: 26.1; variable font-lock-major-mode is nil in text-mode |
Date: | Tue, 3 Jul 2018 09:21:55 +0000 |
Correction: I meant font-lock-major-mode, not global-font-lock-mode.
Thanks for replying so quickly.
> 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.
E.g. hi-lock-mode in text-mode requires font-lock-major-mode to be set to text-mode to work.
[Prev in Thread] | Current Thread | [Next in Thread] |