all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* font-lock-add-keywords problem
@ 2006-03-05 15:41 Stefan Bienert
  2006-03-09 21:57 ` ken
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Bienert @ 2006-03-05 15:41 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.74.1141573314.21065.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2006-03-09 21:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-05 15:41 font-lock-add-keywords problem Stefan Bienert
2006-03-09 21:57 ` ken
     [not found] <mailman.74.1141573314.21065.help-gnu-emacs@gnu.org>
2006-03-05 18:48 ` Johan Bockgård

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.