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: 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:20:58 +0000

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.


Von: Eli Zaretskii <address@hidden>
Gesendet: Montag, 2. Juli 2018 17:08:21
An: Benjamin Orthen
Cc: address@hidden
Betreff: Re: bug#32027: 26.1; variable font-lock-major-mode is nil in text-mode
 
> From: Benjamin Orthen <address@hidden>
> Date: Sun, 1 Jul 2018 19:53:14 +0000
>
> Problem:
>
> The variable font-lock-major-mode is nil after opening a text file, even
> when global-font-lock-mode is set to t and font-lock-mode is set to t in buffer.

Because Text mode doesn't set up any font-lock related settings, no?

reply via email to

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