summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-09-19 19:57:36 +0100
committerAlan Pearce2014-09-19 19:57:36 +0100
commit95317da4289cc9b334e837d69bd878877d587817 (patch)
treea75ed4df7e40e79ae3d467d981d084bcdcbbf32c
parent0815ddf3d6690814a9248eb94ae163b0fcd6e1ed (diff)
downloaddotfiles-95317da4289cc9b334e837d69bd878877d587817.tar.lz
dotfiles-95317da4289cc9b334e837d69bd878877d587817.tar.zst
dotfiles-95317da4289cc9b334e837d69bd878877d587817.zip
Emacs: Add highlight-stages mode
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el5
2 files changed, 6 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 9374e0c..5dc6020 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -45,6 +45,7 @@
 (depends-on "helm-swoop")
 (depends-on "help-fns+")
 (depends-on "hemisu-theme")
+(depends-on "highlight-stages")
 (depends-on "jinja2-mode")
 (depends-on "jquery-doc")
 (depends-on "js2-mode")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index e905ae8..3b9ece3 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -161,6 +161,11 @@
   :config (progn
             (add-hook 'xmonad-mode-hook #'rainbow-turn-on)))
 
+(req-package highlight-stages
+  :defer t
+  :init (progn
+          (add-hook 'lisp-mode-common-hook #'highlight-stages-mode)))
+
 ;;;; Autosaves & Backups
 (let ((backup-dir (expand-file-name "~/.emacs.d/backups/")))
   (unless (file-directory-p backup-dir)