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.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode-def.el b/src/mode-def.el
index f90e3b9..3094498 100644
--- a/src/mode-def.el
+++ b/src/mode-def.el
@@ -225,8 +225,8 @@ See also `emmet-expand-line'."
(goto-char (point-min))
(or
(emmet-aif (emmet-go-to-edit-point 1 t) (- it 1)) ; try to find an edit point
- (emmet-aif (re-search-forward ".+</") (- it 3)) ; try to place cursor after tag contents
- (- (length str) 1)))) ; ok, just go to the end
+ (emmet-aif (re-search-forward ".+</" nil t) (- it 3)) ; try to place cursor after tag contents
+ (length str)))) ; ok, just go to the end
(defvar emmet-flash-ovl nil)
(make-variable-buffer-local 'emmet-flash-ovl)