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

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

[elpa] master 4ba4264 047/173: company--begin-new: Reorder statements


From: Dmitry Gutov
Subject: [elpa] master 4ba4264 047/173: company--begin-new: Reorder statements
Date: Thu, 23 Jun 2016 00:28:37 +0000 (UTC)

branch: master
commit 4ba4264679532f1e223c17cff9b5d191f1dd7d24
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company--begin-new: Reorder statements
---
 company.el |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/company.el b/company.el
index ed5e14c..9160c0d 100644
--- a/company.el
+++ b/company.el
@@ -1474,11 +1474,11 @@ from the rest of the back-ends in the group, if any, 
will be left at the end."
                 c (company-calculate-candidates company-prefix))
           (if (not (consp c))
               (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 company--manual-action
-                  (message "No completion found")))
+                (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]