From ac15dcb7e92a7de6f3a3706a434455ee33a916a6 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 3 Feb 2014 15:50:56 +0200 Subject: [PATCH] company-capf: strip duplicates --- company-capf.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/company-capf.el b/company-capf.el index f0e5d1b01..17ebf7cb5 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)))) -- 2.39.2