(defun turn-on-rainbow-delimiters-mode ()
  (interactive)
  (rainbow-delimiters-mode 1))

(setq-default frame-background-mode 'dark)
(let ((supported-modes '(emacs-lisp-mode-hook
                         clojure-mode-hook
                         javascript-mode-hook
                         lisp-mode-hook
                         python-mode-hook
                         erlang-mode-hook)))
  (dolist (hook supported-modes)
    (add-hook hook 'turn-on-rainbow-delimiters-mode)))

(defun turn-on-rainbow-delimiters-mode ()
  (interactive)
  (rainbow-delimiters-mode 1))

(setq-default frame-background-mode 'dark)
(let ((supported-modes '(c-mode-common-hook
                         emacs-lisp-mode-hook
                         clojure-mode-hook
                         javascript-mode-hook
                         lisp-mode-hook
                         python-mode-hook
                         erlang-mode-hook)))
  (dolist (hook supported-modes)
    (add-hook hook 'turn-on-rainbow-delimiters-mode)))

Add c modes to rainbow delimiters mode
Add c modes to rainbow delimiters mode

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs