diff options
author | Dave Mayo <pobocks@gmail.com> | 2014-08-24 16:52:53 -0400 |
---|---|---|
committer | Dave Mayo <pobocks@gmail.com> | 2014-08-24 16:52:53 -0400 |
commit | 9fcd958c43e6d4498763eec9502b0a0710d0a0e4 (patch) | |
tree | 0eb0dbe68403b99506d09078bf25a4bfd84e67b8 /src | |
parent | 5a41445c8c00defc3f7f1ff79f747b56691ba897 (diff) | |
download | emmet-mode-9fcd958c43e6d4498763eec9502b0a0710d0a0e4.tar.lz emmet-mode-9fcd958c43e6d4498763eec9502b0a0710d0a0e4.tar.xz emmet-mode-9fcd958c43e6d4498763eec9502b0a0710d0a0e4.zip |
Fixes #40
Diffstat (limited to 'src')
-rw-r--r-- | src/mode-def.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mode-def.el b/src/mode-def.el index 3094498..8b60374 100644 --- a/src/mode-def.el +++ b/src/mode-def.el @@ -22,7 +22,8 @@ (last-gt (point))) (while char (cond ((member char '(?\} ?\] ?\))) - (backward-sexp) (setq char (char-before))) + (with-syntax-table (standard-syntax-table) + (backward-sexp) (setq char (char-before)))) ((eq char ?\>) (setq last-gt (point)) (backward-char) (setq char (char-before))) ((eq char ?\<) |