]> code.delx.au - gnu-emacs-elpa/commitdiff
Don't forget to export `yas-hippie-try-expand`
authorJoão Távora <joaotavora@gmail.com>
Sun, 22 Jul 2012 09:22:24 +0000 (10:22 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 22 Jul 2012 09:22:24 +0000 (10:22 +0100)
yasnippet.el

index 52187b03fc5abfdfc7bde9e4ed69c8036e519fb1..94ee0747b0e2a63329e5176e9068eefcd24053b8 100644 (file)
@@ -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