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

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

Re: Prettify keywords


From: Stefan Monnier
Subject: Re: Prettify keywords
Date: Wed, 03 Feb 2021 12:40:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I want to prettify tex commands, so that things like \alpha is shown
> with the greek letter.  The calls are however in texinfo files.  If
> I call tex-mode, the texinfo highlighting from texinfo-mode gets
> disabled.

I have no idea how you go from the above to wanting `prog-mode` to be
a minor mode.

But AFAICT you do know that one obvious answer to your need is to set
`prettify-symbols-alist` and enable `prettify-symbols-mode`.


        Stefan




reply via email to

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