From 1c36c5113627e526acf00f97418c1624f0982003 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 9 Jun 2014 11:13:32 +0100 Subject: Emacs: Disable autopair in web-mode --- tag-emacs/emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'tag-emacs') 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))) -- cgit 1.4.1