summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-09-19 19:57:36 +0100
committerAlan Pearce2014-09-19 19:57:36 +0100
commit95317da4289cc9b334e837d69bd878877d587817 (patch)
treea75ed4df7e40e79ae3d467d981d084bcdcbbf32c /tag-emacs
parent0815ddf3d6690814a9248eb94ae163b0fcd6e1ed (diff)
downloadnixfiles-95317da4289cc9b334e837d69bd878877d587817.tar.lz
nixfiles-95317da4289cc9b334e837d69bd878877d587817.tar.zst
nixfiles-95317da4289cc9b334e837d69bd878877d587817.zip
Emacs: Add highlight-stages mode
Diffstat (limited to 'tag-emacs')
-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 9374e0c8..5dc6020c 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 e905ae8a..3b9ece3f 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)