help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fontification question


From: JRancier
Subject: fontification question
Date: Thu, 17 Jan 2008 15:14:17 -0500


Given the following code:

(setq font-lock-todo-face (make-face 'font-lock-todo-face))
(set-face-foreground 'font-lock-todo-face "Red")
(set-face-background 'font-lock-todo-face "Yellow")

(font-lock-add-keywords 'jde-mode
                        '(("\\(TODO:.*$\\)" 1 font-lock-todo-face prepend)))

Can anyone tell me why the following is correctly fontified (in jde-mode):

    /*
     *
     *  TODO: REMOVE DEBUG STATEMENTS
     *
     */

And this isn't?

    /** 01-17-08  jbr
     *
     *  TODO: REMOVE DEBUG STATEMENTS
     *
     */

TIA,
Jeff

reply via email to

[Prev in Thread] Current Thread [Next in Thread]