Hi, I found a little bug in rainbow-mode 1.0.3. In c-mode and c++-mode it colors the “#def” in #define. Minimal init.el (assuming that rainbow-mode is installed): (package-initialize) (require 'rainbow-mode) Minimal C++ example: #define XYZ int main() {} Kind regards, tastytea