]> code.delx.au - gnu-emacs-elpa/commitdiff
Clarify where callback must be called from
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 29 Feb 2016 01:05:28 +0000 (03:05 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 29 Feb 2016 01:05:28 +0000 (03:05 +0200)
#475

company.el

index 51aad7be4351cf0de5f2e5962f202c112e0b10a1..20aedc8342c5f2f7ce6f1db1d7903418ab8be43f 100644 (file)
@@ -432,7 +432,8 @@ Asynchronous backends
 The return value of each command can also be a cons (:async . FETCHER)
 where FETCHER is a function of one argument, CALLBACK.  When the data
 arrives, FETCHER must call CALLBACK and pass it the appropriate return
-value, as described above.
+value, as described above.  That call must happen in the same buffer as
+where completion was initiated.
 
 True asynchronous operation is only supported for command `candidates', and
 only during idle completion.  Other commands will block the user interface,