changeset 6:a4eb45be5dbc

Merge
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Sun, 14 Feb 2010 18:37:07 -0600
parents 7bf85cc6594e (current diff) 317bd5a17fc2 (diff)
children 2c6fced452ac
files dotemacs
diffstat 1 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dotemacs
+++ b/dotemacs
@@ -64,7 +64,7 @@
 (defalias 'perl-mode 'cperl-mode)
 
 ;; Commented out for lenny due to a bug with ipython/python mode
-(require 'ipython)
+;(require 'ipython)
 
 (server-start)
 
@@ -111,7 +111,7 @@
 ;; Separate IO
 (setq gdb-separate-io t)
 
-;; Highlight "FIXME:"
+;; Highlight "FIXME: and TODO:"
 (font-lock-add-keywords
  'c-mode
  '(("\\<\\(FIXME\\)" 1 font-lock-warning-face t)))
@@ -120,6 +120,14 @@
  'c++-mode
  '(("\\<\\(FIXME\\):" 1 font-lock-warning-face t)))
 
+(font-lock-add-keywords
+ 'c-mode
+ '(("\\<\\(TODO\\):" 1 font-lock-warning-face t)))
+
+(font-lock-add-keywords
+ 'c++-mode
+ '(("\\<\\(TODO\\):" 1 font-lock-warning-face t)))
+
 ;; Let auto-fill end lines with a full stop.
 (setq sentence-end-double-space nil)