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

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

[elpa] 17/21: company-capf: strip duplicates


From: Dmitry Gutov
Subject: [elpa] 17/21: company-capf: strip duplicates
Date: Mon, 03 Feb 2014 17:36:18 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit ac15dcb7e92a7de6f3a3706a434455ee33a916a6
Author: Dmitry Gutov <address@hidden>
Date:   Mon Feb 3 15:50:56 2014 +0200

    company-capf: strip duplicates
---
 company-capf.el |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/company-capf.el b/company-capf.el
index f0e5d1b..17ebf7c 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -90,8 +90,9 @@ Requires Emacs 24.1 or newer."
             (text-property-not-all start (length arg)
                                    'face value arg))
           (length arg)))))
-    (`duplicates nil) ;Don't bother.
-    (`no-cache t)     ;FIXME: Improve!
+    (`duplicates t) ;Don't bother.
+    (`no-cache t)   ;Not much can be done here, as long as we handle
+                    ;non-prefix matches.
     (`meta
      (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-docsig)))
        (when f (funcall f arg))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]