unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Bienert <stefanbienert@web.de>
Subject: font-lock-add-keywords problem
Date: Sun, 05 Mar 2006 16:41:38 +0100	[thread overview]
Message-ID: <719707752@web.de> (raw)

Hi there,

I have a problem with the adding of own types to the c-mode in emacs. I have used:

(font-lock-add-keywords
 'c-mode
 '(("\\<\\(Shortint\\)\\>" 1 font-lock-type-face t)))

to make emacs highlighting the type "Shortint". But now its also highlighted in comments /* Shortint */.
What can I do to unhighlight it in comments?

-- 
mit freundlichen Gruessen

Stefan Bienert

The box said,
                     -----------------------------
                     |Requires Windows 98|
                     |         or better.          |
                     -----------------------------

                     SO I INSTALLED LINUX.
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

             reply	other threads:[~2006-03-05 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-05 15:41 Stefan Bienert [this message]
2006-03-09 21:57 ` font-lock-add-keywords problem ken
     [not found] <mailman.74.1141573314.21065.help-gnu-emacs@gnu.org>
2006-03-05 18:48 ` Johan Bockgård

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=719707752@web.de \
    --to=stefanbienert@web.de \
    /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.
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).