13 lines
483 B
EmacsLisp
13 lines
483 B
EmacsLisp
(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)))
|