I would like /* */ comments to fontify differently
from // comments (in jde-mode).
I added the following to my .emacs but // line
comments are still fontified using
font-lock-comment-face.
(defface new-font-lock-comment-face
'((t (:foreground "Red"))))
(add-hook 'font-lock-mode-hook
(function
(lambda ()
(setq font-lock-keywords
(append font-lock-keywords
'(("//.*$" (0
'new-font-lock-comment-face))))))))
How can I change the fontification of one (or the
other) to use a different face?
----
Ryan Bowman
There is no vi there is only Emacs
----
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs