From 53a9ff687d6ce5980d8bb59b2b077e0eeecdee07 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 15 Jun 2014 03:20:25 +0000 Subject: [PATCH] company-capf.el: Don't ignore things like semantic-capf --- company-capf.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/company-capf.el b/company-capf.el index 4a3c08395..cc075df20 100644 --- a/company-capf.el +++ b/company-capf.el @@ -36,9 +36,12 @@ (remove-hook 'company-completion-finished-hook 'company--capf-clear-data t)) (defun company--capf-data () - ;; Ignore tags-completion-at-point-function because it subverts company-etags - ;; in the default value of company-backends, where the latter comes later. - (cl-letf* (((default-value 'completion-at-point-functions) nil) + (cl-letf* (((default-value 'completion-at-point-functions) + ;; Ignore tags-completion-at-point-function because it subverts + ;; company-etags in the default value of company-backends, where + ;; the latter comes later. + (remove 'tags-completion-at-point-function + (default-value 'completion-at-point-functions))) (data (run-hook-wrapped 'completion-at-point-functions ;; Ignore misbehaving functions. #'completion--capf-wrapper 'optimist))) -- 2.39.2