* font-lock and face names
@ 2006-08-21 22:49 Dieter Wilhelm
0 siblings, 0 replies; 2+ messages in thread
From: Dieter Wilhelm @ 2006-08-21 22:49 UTC (permalink / raw)
Hi
In a major mode I'm using for the font-lock-keywords mostly faces
which are defined in font-lock.el. Now I'd like to use other faces
which are shown with list-faces-display, e. g. scroll-bar. But I
can't use these without making a variable known (defvar scroll-bar
'scroll-bar). Is there a reason why these defvars aren't already done
in their respective source files and why is this variable defintion
necessary at all in addition to the defface definition?
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: font-lock and face names
[not found] <mailman.5427.1156227358.9609.help-gnu-emacs@gnu.org>
@ 2006-08-23 12:30 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2006-08-23 12:30 UTC (permalink / raw)
Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
> In a major mode I'm using for the font-lock-keywords mostly faces
> which are defined in font-lock.el. Now I'd like to use other faces
> which are shown with list-faces-display, e. g. scroll-bar. But I
> can't use these without making a variable known
Use 'foo (note the quote).
--
Johan Bockgård
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-23 12:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 22:49 font-lock and face names Dieter Wilhelm
[not found] <mailman.5427.1156227358.9609.help-gnu-emacs@gnu.org>
2006-08-23 12:30 ` Johan Bockgård
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).