[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b696b39 10/31: Don't run company-completed-started-hook un
From: |
Dmitry Gutov |
Subject: |
[elpa] master b696b39 10/31: Don't run company-completed-started-hook unnecessarily |
Date: |
Sun, 14 Apr 2019 22:06:16 -0400 (EDT) |
branch: master
commit b696b3943d2a55aed937cb0ba971d6e29b2e3a8b
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Don't run company-completed-started-hook unnecessarily
Fixes #853
---
company.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/company.el b/company.el
index 7d45473..7b2dd5e 100644
--- a/company.el
+++ b/company.el
@@ -1594,8 +1594,9 @@ prefix match (same case) will be prioritized."
t))
;; ...abort and run the hooks, e.g. to clear the cache.
(company-cancel 'unique))
- ((and (null c) company--manual-action)
- (message "No completion found"))
+ ((null c)
+ (when company--manual-action
+ (message "No completion found")))
(t ;; We got completions!
(when company--manual-action
(setq company--manual-prefix prefix))
- [elpa] master 201577c 01/31: Begin completion on a unique match if the user really wants that, (continued)
- [elpa] master 201577c 01/31: Begin completion on a unique match if the user really wants that, Dmitry Gutov, 2019/04/14
- [elpa] master efb76d3 06/31: Add a couple of tests for 'unique' behavior, Dmitry Gutov, 2019/04/14
- [elpa] master e5408b5 07/31: Add a clarifying message, Dmitry Gutov, 2019/04/14
- [elpa] master 8576100 08/31: Add a NEWS entry, Dmitry Gutov, 2019/04/14
- [elpa] master 5d3e689 03/31: Update the remaining callers of company-calculate-candidates, Dmitry Gutov, 2019/04/14
- [elpa] master f53327b 12/31: Merge pull request #858 from nikital/tng-fix-lookup-key, Dmitry Gutov, 2019/04/14
- [elpa] master 3873c4a 05/31: Remove outdated comment, Dmitry Gutov, 2019/04/14
- [elpa] master 04b8171 09/31: Fix a typo, Dmitry Gutov, 2019/04/14
- [elpa] master ebf1301 04/31: Merge branch 'master' into forced-completion-for-unique-match, Dmitry Gutov, 2019/04/14
- [elpa] master 3d4e87c 11/31: company: company--company-command-p: Fix lookup-key, Dmitry Gutov, 2019/04/14
- [elpa] master b696b39 10/31: Don't run company-completed-started-hook unnecessarily,
Dmitry Gutov <=
- [elpa] master a7c689a 14/31: Merge pull request #859 from yqrashawn/customizable-numbers, Dmitry Gutov, 2019/04/14
- [elpa] master 66ed6df 13/31: make numbers after candidates customizable, Dmitry Gutov, 2019/04/14
- [elpa] master 2b671ec 15/31: Move inhibit-redisplay higher, Dmitry Gutov, 2019/04/14
- [elpa] master 5bd5745 24/31: Merge pull request #883 from nikital/tng-document-no-post-completion, Dmitry Gutov, 2019/04/14
- [elpa] master 03fa690 27/31: Merge pull request #886 from cburn11/update-company-clang--completetion-pattern, Dmitry Gutov, 2019/04/14
- [elpa] master 23136d3 28/31: Update copyright years, Dmitry Gutov, 2019/04/14
- [elpa] master 87509b1 19/31: company-complete: Don't change last-command if completion exited, Dmitry Gutov, 2019/04/14
- [elpa] master edbb3c5 16/31: Merge branch 'master' of github.com:company-mode/company-mode, Dmitry Gutov, 2019/04/14
- [elpa] master ebc4fce 17/31: Make company-idle-delay support predicate function, Dmitry Gutov, 2019/04/14
- [elpa] master 20fe015 18/31: Merge pull request #874 from amosbird/master, Dmitry Gutov, 2019/04/14