Skip to content

Instantly share code, notes, and snippets.

@ajchemist
Last active December 29, 2015 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajchemist/7732443 to your computer and use it in GitHub Desktop.
Save ajchemist/7732443 to your computer and use it in GitHub Desktop.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; OLD
(add-to-list 'auto-mode-alist
'(".+/\\.?emacs.d/theme/"
lambda nil (emacs-lisp-mode) (rainbow-mode 1)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; NEW
~/.emacs.d/theme/.dir-locals.el
((emacs-lisp-mode . ((eval rainbow-mode 1))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment