]> code.delx.au - gnu-emacs-elpa/blobdiff - company-capf.el
company-capf: Pass `sole' or 'finished' to exit-function, not `exact'
[gnu-emacs-elpa] / 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)