]> code.delx.au - gnu-emacs-elpa/commitdiff
company-capf: Pass `sole' or 'finished' to exit-function, not `exact'
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 4 Dec 2014 15:14:15 +0000 (17:14 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 4 Dec 2014 15:14:15 +0000 (17:14 +0200)
company-capf.el

index 1a0e9ec52e5bf98833ab88412323261ac4f85ffa..4962a26c0d8a4e1ac6512ba0c8f3247b48f7b54c 100644 (file)
            ;; Follow the example of `completion--done'.
            (funcall exit-function arg
                     (if (eq (try-completion arg table pred) t)
-                        'finished 'exact)))))
+                        'finished 'sole)))))
     ))
 
 (provide 'company-capf)