unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Description of KEYWORDS in font-lock-defaults
@ 2007-11-23 16:34 Lennart Borgman (gmail)
  2007-11-23 17:30 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2007-11-23 16:34 UTC (permalink / raw)
  To: Emacs Devel

There is no description of what a list means. I assume that if KEYWORDS 
is a list then it is treated as if it where all in one big list, but I 
am not sure.

Besides the description of a single KEYWORD is not very precise.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Description of KEYWORDS in font-lock-defaults
  2007-11-23 16:34 Description of KEYWORDS in font-lock-defaults Lennart Borgman (gmail)
@ 2007-11-23 17:30 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2007-11-23 17:30 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

> There is no description of what a list means.

It means a bunch of alternative highlighting rules.
`font-lock-maximum-decoration' can then be used to chose which one
you want.

> Besides the description of a single KEYWORD is not very precise.

That's describe in `font-lock-keywords'.

I'm not sure how to adjust the docstring to make those things clearer,
so suggestions welcome,


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-23 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 16:34 Description of KEYWORDS in font-lock-defaults Lennart Borgman (gmail)
2007-11-23 17:30 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).