summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-07-05 11:04:28 +0100
committerAlan Pearce2014-07-05 11:04:28 +0100
commitd69d493c16f6539a8bbc1e256fb625ee73f0c0de (patch)
tree63099a98b1fef2415ff0fa92e43f4cdf6fee59fb /tag-emacs
parentaeb44902a7d67feffc70e69e68d087e7a4b224d6 (diff)
downloaddotfiles-d69d493c16f6539a8bbc1e256fb625ee73f0c0de.tar.lz
dotfiles-d69d493c16f6539a8bbc1e256fb625ee73f0c0de.tar.zst
dotfiles-d69d493c16f6539a8bbc1e256fb625ee73f0c0de.zip
Emacs: add discover-my-major mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el3
2 files changed, 4 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 7f924f4..95950a7 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -20,6 +20,7 @@
 (depends-on "diminish")
 (depends-on "dired+")
 (depends-on "discover")
+(depends-on "discover-my-major")
 (depends-on "elisp-slime-nav")
 (depends-on "emmet-mode")
 (depends-on "expand-region")
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 8635ac0..37ceb53 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -266,6 +266,9 @@
   :init (which-function-mode)
   :config (setq which-func-modes t))
 
+(req-package discover-my-major
+  :bind ("C-h C-m" . discover-my-major))
+
 ;;;; Files
 
 (prefer-coding-system 'utf-8-auto-unix)