diff options
author | Alan Pearce | 2016-07-04 08:47:40 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-04 08:47:40 +0200 |
commit | 7b7ea853f81e5574a187e2dab975795b28a8f402 (patch) | |
tree | 5f0e6c192548a2b6474dbea2239a752cf199545e /tag-emacs | |
parent | f0643fdce54e5172a369e29d00356cb9bc4f6c8b (diff) | |
download | nixfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.tar.lz nixfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.tar.zst nixfiles-7b7ea853f81e5574a187e2dab975795b28a8f402.zip |
Emacs: Fix error when starting web-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 3 |
1 files changed, 1 insertions, 2 deletions
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=. |