From 2fba74ab6ef90281fcf4c127411d2160ac8b6268 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 16 Mar 2014 05:11:17 +0200 Subject: [PATCH 1/1] company-yasnippet: autoload, to make it easy to use separately --- company-yasnippet.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/company-yasnippet.el b/company-yasnippet.el index ce2caac15..27c6812c7 100644 --- a/company-yasnippet.el +++ b/company-yasnippet.el @@ -49,6 +49,7 @@ res)) (yas--get-snippet-tables))) +;;;###autoload (defun company-yasnippet (command &optional arg &rest ignore) "`company-mode' back-end for `yasnippet'. @@ -65,8 +66,7 @@ buffer should be grouped with it. Example config: (add-hook 'js-mode-hook (lambda () (set (make-local-variable 'company-backends) - '((company-dabbrev-code company-yasnippet)))) -" + '((company-dabbrev-code company-yasnippet))))" (interactive (list 'interactive)) (case command (interactive (company-begin-backend 'company-yasnippet)) -- 2.39.2