[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 14/52: company--continue: don't pass the new prefix to `company-c
From: |
Dmitry Gutov |
Subject: |
[elpa] 14/52: company--continue: don't pass the new prefix to `company-cancel' |
Date: |
Tue, 01 Jul 2014 11:53:11 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 83430dd9ccd5b696a04ddf47b4277a7f09cbd221
Author: Dmitry Gutov <address@hidden>
Date: Mon May 26 03:30:45 2014 +0300
company--continue: don't pass the new prefix to `company-cancel'
Closes #118
---
company.el | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/company.el b/company.el
index 24a7e40..580304e 100644
--- a/company.el
+++ b/company.el
@@ -1331,7 +1331,9 @@ Keywords and function definition names are ignored."
(cond
((eq c t)
;; t means complete/unique.
- (company-cancel new-prefix))
+ ;; Handle it like completion was aborted, to differentiate from user
+ ;; calling one of Company's commands to insert the candidate.
+ (company-cancel 'unique))
((consp c)
;; incremental match
(setq company-prefix new-prefix)
- [elpa] 02/52: Fix #103, (continued)
- [elpa] 02/52: Fix #103, Dmitry Gutov, 2014/07/01
- [elpa] 05/52: Respect tooltip align annotations in company-yasnippet., Dmitry Gutov, 2014/07/01
- [elpa] 08/52: company-search-map: bind DEL to company-search-other-char, Dmitry Gutov, 2014/07/01
- [elpa] 07/52: Account for the line continuation column in graphical mode, Dmitry Gutov, 2014/07/01
- [elpa] 09/52: company-sort-by-occurrence: include words on the same line, too, Dmitry Gutov, 2014/07/01
- [elpa] 06/52: Merge pull request #106 from proofit404/master, Dmitry Gutov, 2014/07/01
- [elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly, Dmitry Gutov, 2014/07/01
- [elpa] 10/52: company--multi-backend-adapter-candidates: compare string values of prefix, Dmitry Gutov, 2014/07/01
- [elpa] 12/52: company-clang--annotation: include method qualifiers in the annotation, Dmitry Gutov, 2014/07/01
- [elpa] 13/52: NEWS: document the change in clang invocation, Dmitry Gutov, 2014/07/01
- [elpa] 14/52: company--continue: don't pass the new prefix to `company-cancel',
Dmitry Gutov <=
- [elpa] 15/52: company-files-complete: move files in subdirs to the end, Dmitry Gutov, 2014/07/01
- [elpa] 16/52: Introduce company-tooltip-flip-when-above, Dmitry Gutov, 2014/07/01
- [elpa] 17/52: Fix typo, Dmitry Gutov, 2014/07/01
- [elpa] 18/52: extended gtags functionality #90 showing annotations and meta, Dmitry Gutov, 2014/07/01
- [elpa] 21/52: Merge pull request #126 from ksjogo/gtags, Dmitry Gutov, 2014/07/01
- [elpa] 19/52: fixing let in gtags annotation, Dmitry Gutov, 2014/07/01
- [elpa] 20/52: Add new possible value to `company-dabbrev-code-other-buffers', Dmitry Gutov, 2014/07/01
- [elpa] 03/52: company-clang: don't mistake scoping operator for objc args, Dmitry Gutov, 2014/07/01
- [elpa] 24/52: Merge pull request #127 from bbatsov/doc-fixes, Dmitry Gutov, 2014/07/01
- [elpa] 23/52: Small fixes, Dmitry Gutov, 2014/07/01