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

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

Re: Passing values through a variable


From: michael-franzese
Subject: Re: Passing values through a variable
Date: Sun, 14 Feb 2021 18:52:25 +0100

Have looked into the use of "how"  in
  (defun font-lock-add-keywords (mode keywords &optional how)

But have not got far in my understanding.

> Sent: Monday, February 15, 2021 at 5:40 AM
> From: michael-franzese@gmx.com
> To: moasenwood@zoho.eu
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Passing values through a variable
>
> I would like to set up my own foreground and background colour
> for the keywords.
>
> > Sent: Sunday, February 14, 2021 at 4:32 PM
> > 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: Passing values through a variable
> >
> > michael-franzese wrote:
> >
> > > You have used
> > >
> > > ("_{\\([[:alnum:]]*\\)}" 1 font-lock-function-name-face)
> > >
> > > How can I pass the "1" using a variable, rather than
> > > hardwiring it?
> >
> > That's not how it works. Figure it out... or see
> > the docstring.
> >
> > --
> > 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]