From 7b7ea853f81e5574a187e2dab975795b28a8f402 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 4 Jul 2016 08:47:40 +0200 Subject: Emacs: Fix error when starting web-mode --- tag-emacs/emacs.d/init.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index d89022e7..12e07726 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -1960,8 +1960,7 @@ of them as well. web-mode-comment-style 2 web-mode-enable-auto-pairing nil web-mode-enable-auto-quoting nil) - (sp-with-modes sp--html-modes - (sp-local-pair "<%" "%>")))) + (sp-local-pair '(web-mode) "<%" "%>"))) #+END_SRC I derived a mode for twig, in order to use its =mode-hook=. -- cgit 1.4.1