all repos — archive/dotfiles @ 7b7ea853f81e5574a187e2dab975795b28a8f402

Superseded by nixfiles

Emacs: Fix error when starting web-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 04 Jul 2016 08:47:40 +0200
commit

7b7ea853f81e5574a187e2dab975795b28a8f402

parent

f0643fdce54e5172a369e29d00356cb9bc4f6c8b

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

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1960,8 +1960,7 @@ web-mode-script-padding 0                     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=.