mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 13:33:04 +00:00
Fixed Issue 49 (It is almost the same to Issue 48, and due to some accidentally removal of code when in revision 281)
This commit is contained in:
parent
c8b94d14c5
commit
37281e3a30
@ -650,7 +650,7 @@ for each field."
|
|||||||
(goto-char start)
|
(goto-char start)
|
||||||
(insert (yas/calculate-field-value field text))
|
(insert (yas/calculate-field-value field text))
|
||||||
(if (eq length 0)
|
(if (eq length 0)
|
||||||
(move-overlay overlay start (+ start (length text))))
|
(move-overlay overlay start (point)))
|
||||||
(delete-char length))))
|
(delete-char length))))
|
||||||
|
|
||||||
(defun yas/expand-snippet (start end template)
|
(defun yas/expand-snippet (start end template)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user