emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 24/31: company-yasnippet: autoload, to make it easy to use separa


From: Dmitry Gutov
Subject: [elpa] 24/31: company-yasnippet: autoload, to make it easy to use separately
Date: Tue, 18 Mar 2014 05:19:38 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 2fba74ab6ef90281fcf4c127411d2160ac8b6268
Author: Dmitry Gutov <address@hidden>
Date:   Sun Mar 16 05:11:17 2014 +0200

    company-yasnippet: autoload, to make it easy to use separately
---
 company-yasnippet.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/company-yasnippet.el b/company-yasnippet.el
index ce2caac..27c6812 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]