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

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

[elpa] master 049b0e6 048/173: company--begin-new: Check the value of c


From: Dmitry Gutov
Subject: [elpa] master 049b0e6 048/173: company--begin-new: Check the value of c
Date: Thu, 23 Jun 2016 00:28:37 +0000 (UTC)

branch: master
commit 049b0e63c403cf1670e9caa4f51219f8ee360a4c
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company--begin-new: Check the value of c
---
 company.el |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/company.el b/company.el
index 9160c0d..f0b1f1d 100644
--- a/company.el
+++ b/company.el
@@ -1476,9 +1476,10 @@ from the rest of the back-ends in the group, if any, 
will be left at the end."
               (progn
                 (when company--manual-action
                   (message "No completion found"))
-                ;; t means complete/unique.
-                ;; Run the hooks anyway, to e.g. clear the cache.
-                (company-cancel 'unique))
+                (when (eq c t)
+                  ;; t means complete/unique.
+                  ;; Run the hooks anyway, to e.g. clear the cache.
+                  (company-cancel 'unique)))
             (when company--manual-action
               (setq company--manual-prefix prefix))
             (company-update-candidates c)



reply via email to

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