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

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

[elpa] master ec9f6c7 127/173: Moved company-tempo-insert call to post-c


From: Dmitry Gutov
Subject: [elpa] master ec9f6c7 127/173: Moved company-tempo-insert call to post-completion
Date: Thu, 23 Jun 2016 00:28:44 +0000 (UTC)

branch: master
commit ec9f6c79c6029a86ef1821f63d5ae50a68cc9648
Author: Rafael Sanchez <address@hidden>
Commit: Rafael Sanchez <address@hidden>

    Moved company-tempo-insert call to post-completion
---
 company-tempo.el |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/company-tempo.el b/company-tempo.el
index aa3a979..cba42c3 100644
--- a/company-tempo.el
+++ b/company-tempo.el
@@ -60,12 +60,11 @@
   "`company-mode' completion backend for tempo."
   (interactive (list 'interactive))
   (cl-case command
-    (interactive (company-begin-backend 'company-tempo
-                                        'company-tempo-insert))
+    (interactive (company-begin-backend 'company-tempo))
     (prefix (or (car (tempo-find-match-string tempo-match-finder)) ""))
     (candidates (all-completions arg (tempo-build-collection)))
     (meta (company-tempo-meta arg))
-    (post-completion (when company-tempo-expand (tempo-expand-if-complete)))
+    (post-completion (when company-tempo-expand (company-tempo-insert arg)))
     (sorted t)))
 
 (provide 'company-tempo)



reply via email to

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