mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
* Fix a bug with `yas/hippie-try-expand'
This commit is contained in:
parent
cf29c5348e
commit
b593dc48f8
@ -3448,8 +3448,9 @@ considered when expanding the snippet."
|
||||
(let ((first-field (car (yas/snippet-fields snippet))))
|
||||
(when first-field
|
||||
(sit-for 0) ;; fix issue 125
|
||||
(yas/move-to-field snippet first-field))))
|
||||
(message "[yas] snippet expanded."))))
|
||||
(yas/move-to-field snippet first-field)))
|
||||
(message "[yas] snippet expanded.")
|
||||
t))))
|
||||
|
||||
(defun yas/take-care-of-redo (beg end snippet)
|
||||
"Commits SNIPPET, which in turn pushes an undo action for
|
||||
|
Loading…
x
Reference in New Issue
Block a user