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:21:51 +0100

I am asking where does texinfo-mode call prettify.  And which prettify code
is it using.

> Sent: Thursday, February 04, 2021 at 9:13 AM
> From: "Gregory Heytings" <gregory@heytings.org>
> To: pietru@caramail.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Prettify keywords
>
>
> >
> > Thank you.  Where can I find the code for it?  Does it use prog-mode
> > functionality?
> >
>
> I don't understand your questions, nor how they are related to your
> original question, but here's an attempt to answer them anyway:
>
> "Where can I find the code for it?"  The "foo-mode-hook" variables are
> evaluated when a buffer with a mode "foo" is entered.  If you want to see
> this for Texinfo, type C-h v texinfo-mode-hook RET, which will open a
> window with a link to "texinfo.el", which you can follow: it will open the
> "texinfo.el" file at the point where "texinfo-mode-hook" is defined.
>
> "Does it use prog-mode functionality?"  No, "texinfo-mode" is a major mode
> for Texinfo files, and it has no relation to "prog-mode", which is a major
> mode for source code files (Python, Java, C, ...).
>



reply via email to

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