all repos — archive/dotfiles @ 1c36c5113627e526acf00f97418c1624f0982003

Superseded by nixfiles

Emacs: Disable autopair in web-mode
Alan Pearce alan@alanpearce.co.uk
Mon, 09 Jun 2014 11:13:32 +0100
commit

1c36c5113627e526acf00f97418c1624f0982003

parent

2ef5062c3047585928f40493eb76e08cd66ba389

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -781,6 +781,7 @@ :init (progn           (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)))