aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode-def.el
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode-def.el')
-rw-r--r--src/mode-def.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mode-def.el b/src/mode-def.el
index 3395909..be615db 100644
--- a/src/mode-def.el
+++ b/src/mode-def.el
@@ -232,6 +232,7 @@ See also `emmet-expand-line'."
(defun emmet-css-next-insert-point (str)
(let ((regexp (if emmet-use-sass-syntax ": *\\($\\)" ": *\\(;\\)$")))
+ (set-match-data nil t)
(string-match regexp str)
(or (match-beginning 1) (length str))))