summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)