]> code.delx.au - gnu-emacs-elpa/blobdiff - company.el
Mention company-sort-prefer-same-case-prefix
[gnu-emacs-elpa] / company.el
index 9e45e9258286f7e53af5402b82773f92f11e739a..27bee545acef1ea334e3957546db662b36af24a3 100644 (file)
@@ -1356,9 +1356,9 @@ from the rest of the backends in the group, if any, will be left at the end."
                    (or (not b1) (not (memq b1 low-priority)))))))))))
 
 (defun company-sort-prefer-same-case-prefix (candidates)
-  "Prefer CANDIDATES with the same case sensitive prefix.
+  "Prefer CANDIDATES with the exact same prefix.
 If a backend returns case insensitive matches, candidates with the an exact
-prefix match will be prioritized even if this changes the lexical order."
+prefix match (same case) will be prioritized."
   (cl-loop for candidate in candidates
            if (string-prefix-p company-prefix candidate)
            collect candidate into same-case