aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mode-def.el3
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 ?\<)