[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 15/31: Clear company-backend in company-auto-begin
From: |
Dmitry Gutov |
Subject: |
[elpa] 15/31: Clear company-backend in company-auto-begin |
Date: |
Tue, 18 Mar 2014 05:19:36 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit f3ad43c61d514393765970212a475d783a030929
Author: Dmitry Gutov <address@hidden>
Date: Wed Mar 5 07:55:02 2014 +0200
Clear company-backend in company-auto-begin
---
company.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/company.el b/company.el
index 5a064d4..2c7fa5f 100644
--- a/company.el
+++ b/company.el
@@ -1072,6 +1072,8 @@ Keywords and function definition names are ignored."
(message "%s" (error-message-string err))
(company-cancel))
(quit (company-cancel)))))
+ (unless company-candidates
+ (setq company-backend nil))
;; Return non-nil if active.
company-candidates)
@@ -1776,9 +1778,7 @@ To show the number next to the candidates in some
back-ends, enable
(setq company-backend backend)
;; Return non-nil if active.
(or (company-manual-begin)
- (progn
- (setq company-backend nil)
- (error "Cannot complete at point"))))
+ (error "Cannot complete at point")))
(defun company-begin-with (candidates
&optional prefix-length require-match callback)
- [elpa] branch master updated (864af57 -> 7b37238), Dmitry Gutov, 2014/03/18
- [elpa] 01/31: BBDB completion in message-mode, Dmitry Gutov, 2014/03/18
- [elpa] 07/31: Turn off company-tooltip-align-annotations by default, Dmitry Gutov, 2014/03/18
- [elpa] 04/31: Mention it in NEWS, Dmitry Gutov, 2014/03/18
- [elpa] 09/31: Reuse `company-auto-begin' in `company-idle-begin', Dmitry Gutov, 2014/03/18
- [elpa] 14/31: Fix indentation, Dmitry Gutov, 2014/03/18
- [elpa] 11/31: Remove superfluous statement, Dmitry Gutov, 2014/03/18
- [elpa] 10/31: company-auto-begin: wrap `company-begin' in `condition-case-no-debug', Dmitry Gutov, 2014/03/18
- [elpa] 12/31: Fix `args-out-of-bounds' error on formatting annotations when annotation start position is greater than the width of window., Dmitry Gutov, 2014/03/18
- [elpa] 05/31: Add user option company-tooltip-align-annotations, Dmitry Gutov, 2014/03/18
- [elpa] 15/31: Clear company-backend in company-auto-begin,
Dmitry Gutov <=
- [elpa] 19/31: Highlight last annotation character, too, Dmitry Gutov, 2014/03/18
- [elpa] 13/31: Merge pull request #70 from sadboy/master, Dmitry Gutov, 2014/03/18
- [elpa] 18/31: company--multi-backend-adapter: noop when arg is empty, Dmitry Gutov, 2014/03/18
- [elpa] 16/31: Tag candidates from grouped backends, Dmitry Gutov, 2014/03/18
- [elpa] 17/31: Add company-yasnippet, Dmitry Gutov, 2014/03/18
- [elpa] 22/31: company-sort-by-occurrence: do stable sorting, Dmitry Gutov, 2014/03/18
- [elpa] 20/31: Fix company-yasnippet summary, Dmitry Gutov, 2014/03/18
- [elpa] 23/31: Define company-version, Dmitry Gutov, 2014/03/18
- [elpa] 24/31: company-yasnippet: autoload, to make it easy to use separately, Dmitry Gutov, 2014/03/18
- [elpa] 27/31: company-semantic--current-tags: make buffer-local, Dmitry Gutov, 2014/03/18