summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/init.el1
-rw-r--r--emacs/.emacs.d/init.org8
2 files changed, 8 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 3e91428..cd492fb 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -1247,7 +1247,6 @@ from myaethon2.core.decorators import (
(add-hook 'after-save-hook 'oni:after-save-func t)
(add-hook 'before-save-hook 'oni:before-save-func)
-(add-hook 'coffee-mode #'oni:electric-pair-local-mode)
(add-hook 'comint-mode-hook #'oni:turn-on-compilation-shell-for-pony)
(add-hook 'css-mode-hook #'rainbow-mode)
(add-hook 'diary-display-hook 'oni:diary-display-func)
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 6a726e2..eae1dda 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1035,6 +1035,14 @@
(add-hook 'enh-ruby-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+* Coffee
+
+ - Autimatically match parentheses and other delimiters.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I