From 79d39c81a37358ef329712087eab1b10f1ce5544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 22 Jul 2012 10:22:24 +0100 Subject: [PATCH] Don't forget to export `yas-hippie-try-expand` --- yasnippet.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yasnippet.el b/yasnippet.el index 52187b0..94ee074 100644 --- a/yasnippet.el +++ b/yasnippet.el @@ -2086,7 +2086,7 @@ will only be expanded when the condition evaluated to non-nil." (yas-define-snippets mode (list (list key template name condition group)))) -(defun yas--hippie-try-expand (first-time?) +(defun yas-hippie-try-expand (first-time?) "Integrate with hippie expand. Just put this function in `hippie-expand-try-functions-list'." (when yas-minor-mode @@ -4382,6 +4382,7 @@ handle the end-of-buffer error fired in it by calling yas-inside-string yas-unimplemented yas-define-condition-cache + yas-hippie-try-expand ;; debug definitions ;; yas-debug-snippet-vars