summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-07-04 08:47:40 +0200
committerAlan Pearce2016-07-04 08:47:40 +0200
commit7b7ea853f81e5574a187e2dab975795b28a8f402 (patch)
tree5f0e6c192548a2b6474dbea2239a752cf199545e
parentf0643fdce54e5172a369e29d00356cb9bc4f6c8b (diff)
downloaddotfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.tar.lz
dotfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.tar.zst
dotfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.zip
Emacs: Fix error when starting web-mode
-rw-r--r--tag-emacs/emacs.d/init.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index d89022e..12e0772 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=.