From b593dc48f8d9e5970e8993dfa857e6be1a573fe9 Mon Sep 17 00:00:00 2001 From: capitaomorte Date: Sun, 18 Apr 2010 13:12:55 +0000 Subject: [PATCH] * Fix a bug with `yas/hippie-try-expand' --- yasnippet.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/yasnippet.el b/yasnippet.el index e3bd1a4..6dca10f 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -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