Taken from http://emacsredux.com/blog/2013/07/24/highlight-comment-annotations/ ...
[emacs.git] / .emacs.d / config / emacs.org
index d8be2bd..025d7e3 100644 (file)
@@ -789,6 +789,12 @@ From https://raw.github.com/qdot/conf_emacs/master/emacs_conf.org
 #+BEGIN_SRC emacs-lisp tangle:yes
 (setq-default indicate-empty-lines t)
 #+END_SRC
+
+Hilight annotations in comments, like FIXME/TODO/...
+#+BEGIN_SRC emacs-lisp tangle:yes
+(add-hook 'prog-mode-hook 'font-lock-comment-annotations)
+#+END_SRC
+
 *** Browser
 #+BEGIN_SRC emacs-lisp tangle:yes
 (setq browse-url-browser-function (quote browse-url-generic))