summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-09 11:13:32 +0100
committerAlan Pearce2014-06-09 11:13:32 +0100
commit1c36c5113627e526acf00f97418c1624f0982003 (patch)
tree9b3c43b24f9215c3740448055a0b3363e79567df
parent2ef5062c3047585928f40493eb76e08cd66ba389 (diff)
downloaddotfiles-1c36c5113627e526acf00f97418c1624f0982003.tar.lz
dotfiles-1c36c5113627e526acf00f97418c1624f0982003.tar.zst
dotfiles-1c36c5113627e526acf00f97418c1624f0982003.zip
Emacs: Disable autopair in web-mode
-rw-r--r--tag-emacs/emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 5babb05..fcb6230 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -781,6 +781,7 @@
           (add-hook 'prog-mode-hook #'autopair-on)
           (defun autopair-off ()
             (autopair-mode -1))
+          (add-hook 'web-mode-hook #'autopair-off)
           (add-hook 'lisp-common-mode-hook #'autopair-off)
           (setq autopair-blink nil
                 autopair-skip-whitespace nil)))