unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* customizing syntax highlighting of variable and function usage in C and C++ mode
@ 2009-02-03 15:38 Geralt
  2009-02-05 13:53 ` Geralt
  0 siblings, 1 reply; 4+ messages in thread
From: Geralt @ 2009-02-03 15:38 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

is it possible to customize the syntax highlighting of function calls
and the usage of variables in C and C++ mode? By setting
(font-lock-variable-name-face ((t (:foreground "#eeeeec" :italic t))))
(font-lock-function-name-face ((t (:foreground "#edd400" :bold t
:underline t))))

in my color-theme only the declarations/definitions are affected.

In shell-script-mode all variables are affected (i.e. in every
context), but functions not at all (i.e. not even in their
definitons).



Thanks.




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

end of thread, other threads:[~2009-02-05 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 15:38 customizing syntax highlighting of variable and function usage in C and C++ mode Geralt
2009-02-05 13:53 ` Geralt
2009-02-05 14:25   ` Joe Schafer
2009-02-05 15:06     ` tyler

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).