From da1a980b5e62fba640f1425ed8521e674f5badee Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 13 May 2016 10:51:28 -0700 Subject: [PATCH] rewrite ensime-mode as bind --- dotfiles/emacs.d/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 591ac5d7..0c81726d 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -2116,9 +2116,9 @@ window is active in the perspective." :config (progn (when (use-package ensime - :commands ensime-mode - :config - (bind-key "M-," 'ensime-pop-find-definition-stack ensime-mode-map)) + :bind (:map ensime-mode-map + ("M-," . ensime-pop-find-definition-stack)) + :commands ensime-mode) (add-hook 'scala-mode-hook 'ensime-scala-mode-hook)) (setq scala-indent:align-parameters t)))