[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 22/31: company-sort-by-occurrence: do stable sorting
From: |
Dmitry Gutov |
Subject: |
[elpa] 22/31: company-sort-by-occurrence: do stable sorting |
Date: |
Tue, 18 Mar 2014 05:19:37 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 663ef3bc9d8358559c5a5ebf2a6ed97755081657
Author: Dmitry Gutov <address@hidden>
Date: Thu Mar 13 19:49:40 2014 +0200
company-sort-by-occurrence: do stable sorting
---
company.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/company.el b/company.el
index 2a77cb1..6367cba 100644
--- a/company.el
+++ b/company.el
@@ -1061,7 +1061,7 @@ Keywords and function definition names are ignored."
t))))
candidates)))
(nconc
- (mapcar #'car (sort occurs (lambda (e1 e2) (< (cdr e1) (cdr e2)))))
+ (mapcar #'car (sort occurs (lambda (e1 e2) (<= (cdr e1) (cdr e2)))))
noccurs)))
(defun company-idle-begin (buf win tick pos)
- [elpa] 11/31: Remove superfluous statement, (continued)
- [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, 2014/03/18
- [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 <=
- [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
- [elpa] 25/31: company-keywords-alist: add missing question mark, Dmitry Gutov, 2014/03/18
- [elpa] 29/31: Remove leftover debug statement, Dmitry Gutov, 2014/03/18
- [elpa] 28/31: company-semantic: don't try to fetch doc for tag without buffer, Dmitry Gutov, 2014/03/18
- [elpa] 08/31: Wrap `company-call-backend' in `condition-case', Dmitry Gutov, 2014/03/18
- [elpa] 26/31: Support the keyword :with, Dmitry Gutov, 2014/03/18
- [elpa] 30/31: Release 0.7.1, Dmitry Gutov, 2014/03/18