From 7f44774c4385ffc49ef86c4ad70b2d3ecaf039ba Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 24 Oct 2019 19:22:15 -0400 Subject: [PATCH] lang/faust: fix unfiltered code completion --- modules/lang/faust/autoload.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/faust/autoload.el b/modules/lang/faust/autoload.el index f3711d143..89eb0016e 100644 --- a/modules/lang/faust/autoload.el +++ b/modules/lang/faust/autoload.el @@ -9,4 +9,5 @@ (prefix (and (derived-mode-p 'faust-mode) (not (company-in-string-or-comment)) (or (company-grab-symbol-cons "\\." 1) 'stop))) - (candidates faust-keywords-all))) + (candidates (cl-remove-if-not (lambda (c) (string-prefix-p arg c)) + faust-keywords-all))))