Hi guys,

you'll find below the code I have in my .emacs file to set up custom colors.
It doesn't seem to work anymore since I've upgraded to emacs 24.3.1 (Windows build).
The colors I now see are not the ones I want, I guess the default colors are used (for example, strings appear in a kind of dark purple while I want dark green).
Could anyone tell me what to do to fix my .emacs ?

Pierre


(cond ((fboundp 'global-font-lock-mode)
      ;; Customize face attributes
      (setq font-lock-face-attributes
            (list
              '(font-lock-comment-face       "Brown")
              '(font-lock-string-face        "DarkGreen")
              '(font-lock-keyword-face       "Blue")
              '(font-lock-builtin-face       "DarkOrange2")
              '(font-lock-function-name-face "Purple2")
              (list 'font-lock-variable-name-face (cdr (assoc 'foreground-color (frame-parameters))))
              '(font-lock-type-face          "Red2")
              '(font-lock-constant-face      "DarkBlue")
              '(font-lock-warning-face       "OrangeRed")
              ))
      ;; Load the font-lock package
      (require 'font-lock)
      ;; Maximum colors
      (setq font-lock-maximum-decoration t)
      ;; Turn on font-lock in all modes that support it
      (global-font-lock-mode t)
))