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

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

Re: Prettify keywords


From: pietru
Subject: Re: Prettify keywords
Date: Wed, 3 Feb 2021 22:48:21 +0100


> Sent: Thursday, February 04, 2021 at 9:41 AM
> From: "Gregory Heytings" <gregory@heytings.org>
> To: pietru@caramail.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Prettify keywords
>
>
> >
> > Have looked at prettify-symbols-mode and it is defined in prog-mode.el.
> > This gets me quite confused
> >
>
> I understand, but it shouldn't confuse you.  It happens to be defined in
> the file prog-mode.el, but it is nonetheless independent from prog-mode.
>
> >
> > as I thought that I can only activate a single major mode at a time on a
> > particular buffer.
> >
>
> That's correct indeed.

But as you have said, one can define an independent minor mode that can
still be defined within an elisp file implementing a minor mode.

My original problem started when I decided to integrate the functionalities
in plain-tex-mode (in tex-mode.el) within texinfo-mode.  Did not realise
the minor mode prettify-mode existed, that is separate from tex-mode.el.




reply via email to

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