Function: corfu--length-string<

corfu--length-string< is a byte-compiled function defined in corfu.el.

Signature

(corfu--length-string< X Y)

Documentation

Sorting predicate which compares X and Y first by length then by string<.

Source Code

;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defsubst corfu--length-string< (x y)
  "Sorting predicate which compares X and Y first by length then by `string<'."
  (or (< (length x) (length y)) (and (= (length x) (length y)) (string< x y))))