]> code.delx.au - gnu-emacs-elpa/commitdiff
company--multi-backend-adapter: safe > fast
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Mar 2013 03:58:25 +0000 (07:58 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 23 Mar 2013 03:58:25 +0000 (07:58 +0400)
Fixes list corruption when running test company-multi-backend-with-lambdas
repeatedly.

company.el

index 17b48a07d18205c2f6857462895e165d841e8c74..33c6c957eecb5ae075b32bdd53d4aa046e09c200 100644 (file)
@@ -664,7 +664,7 @@ keymap during active completions (`company-active-map'):
        (loop for backend in backends
              when (equal (funcall backend 'prefix)
                          (car args))
-             nconc (apply backend 'candidates args)))
+             append (apply backend 'candidates args)))
       (sorted nil)
       (duplicates t)
       (otherwise