mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Fix ${0:soon-to-be-deleted} with no other fields
* yasnippet.el (yas-expand-snippet): Unset `deactivate-mark'.
This commit is contained in:
parent
394942130d
commit
47f37f70f4
@ -3809,6 +3809,7 @@ considered when expanding the snippet."
|
||||
(yas--letenv (yas--snippet-expand-env snippet)
|
||||
(yas--move-to-field snippet first-field))))
|
||||
(yas--message 4 "snippet expanded.")
|
||||
(setq deactivate-mark nil)
|
||||
t))))
|
||||
|
||||
(defun yas--take-care-of-redo (_beg _end snippet)
|
||||
|
Loading…
x
Reference in New Issue
Block a user