* Fix a bug with `yas/hippie-try-expand'

This commit is contained in:
capitaomorte 2010-04-18 13:12:55 +00:00
parent cf29c5348e
commit b593dc48f8

View File

@ -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