]> code.delx.au - gnu-emacs-elpa/commitdiff
Add autoload cookies
authorFice T <fice-t@protonmail.com>
Wed, 13 Apr 2016 17:44:47 +0000 (11:44 -0600)
committerFice T <fice-t@protonmail.com>
Wed, 13 Apr 2016 17:58:08 +0000 (11:58 -0600)
Adds autoload cookies to both company-manual-begin and company-complete.

company.el

index 3fb6d763358486448b60d8a2e75a1f36ab29b70a..23ed09a30ad31ba0ac901496acb2204cf406f8f1 100644 (file)
@@ -1364,6 +1364,7 @@ from the rest of the backends in the group, if any, will be left at the end."
                   (company-cancel))
            (quit (company-cancel))))))
 
+;;;###autoload
 (defun company-manual-begin ()
   (interactive)
   (company-assert-enabled)
@@ -2056,6 +2057,7 @@ With ARG, move by that many elements."
                  (eq old-tick (buffer-chars-modified-tick)))
         (company-complete-common))))))
 
+;;;###autoload
 (defun company-complete ()
   "Insert the common part of all candidates or the current selection.
 The first time this is called, the common part is inserted, the second