]> code.delx.au - gnu-emacs-elpa/commitdiff
company-completion-finished-hook: mention post-completion command
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 25 Mar 2013 02:43:31 +0000 (06:43 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 25 Mar 2013 02:50:27 +0000 (06:50 +0400)
company.el

index 674fc96765d4655fc1a1602a3cf9a2c3930edc58..0d33ad38c1d427fc5cbbd1e726d4869dadc19169 100644 (file)
@@ -363,7 +363,10 @@ aborted manually."
 
 (defcustom company-completion-finished-hook nil
   "Hook run when company successfully completes.
-The hook is called with the selected candidate as an argument."
+The hook is called with the selected candidate as an argument.
+
+If you indend to use it to post-process candidates from a specific back-end,
+consider using the `post-completion' command instead."
   :group 'company
   :type 'hook)
 
@@ -405,7 +408,7 @@ completion.  If it is a list of syntax description characters (see
 This can also be a function, which is called with the new input and should
 return non-nil if company should auto-complete.
 
-A character that is part of a valid candidate never starts auto-completion."
+A character that is part of a valid candidate never triggers auto-completion."
   :group 'company
   :type '(choice (string :tag "Characters")
                  (set :tag "Syntax"