all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: doyoucy@gmail.com
To: help-gnu-emacs@gnu.org
Subject: How to enable font lock for functions called by other functions
Date: Mon, 11 Aug 2008 03:13:50 -0700 (PDT)	[thread overview]
Message-ID: <ee8dbe59-1524-4566-93ee-3f1c73e58b12@h17g2000prg.googlegroups.com> (raw)

Hi all,

I noticed that the "Font Lock Function Name Face" just enables the
font lock for function name when I decalare new function. But other
functions called by this outer function don't have any color.

For example:
void foo1()
{
    foo2();
}

The function foo1 has font-lock enabled and function foo2 is just
plain text.
So, is there any options to enable the font lock for inside fuunctions
(foo2)?

I'm using GNU Emacs 22.2.1, thanks!





             reply	other threads:[~2008-08-11 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11 10:13 doyoucy [this message]
2008-08-11 18:19 ` How to enable font lock for functions called by other functions Colin S. Miller
2008-08-11 20:03 ` Nikolaj Schumacher
     [not found] ` <mailman.16402.1218485044.18990.help-gnu-emacs@gnu.org>
2008-08-12  2:03   ` doyoucy
2008-08-13 11:53     ` Nikolaj Schumacher
     [not found]     ` <mailman.16566.1218628405.18990.help-gnu-emacs@gnu.org>
2008-08-18  5:14       ` doyoucy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee8dbe59-1524-4566-93ee-3f1c73e58b12@h17g2000prg.googlegroups.com \
    --to=doyoucy@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.