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

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

Re: tex-mode.el


From: Christopher Dimech
Subject: Re: tex-mode.el
Date: Wed, 10 Feb 2021 22:01:04 +0100

> Sent: Thursday, February 11, 2021 at 8:49 AM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: tex-mode.el
>
> Christopher Dimech wrote:
>
> > This disabling thing for tex-mode is killing me.
>
> Well, why is it so important? Try to think of/do something
> else...

I did not think it would be so difficult to do.

> But, did you Tassilo Horn's suggestion?
>
> (defun th/tex-toggle-script ()
>   (interactive)
>   (setq-local tex-fontify-script (not tex-fontify-script))
>   (font-lock-flush))

> What happens?

Still same problem

(setq-local tex-fontify-script nil)
(font-lock-flush)

It works in the sense that when I call it the new text is not
fontified.  However, the text that was already fontified remains
fontified.

> --
> underground experts united
> http://user.it.uu.se/~embe8573
> https://dataswamp.org/~incal
>
>
>



reply via email to

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