Function: pcomplete-uniquify-list

pcomplete-uniquify-list is a byte-compiled function defined in pcomplete.el.gz.

Signature

(pcomplete-uniquify-list SEQUENCE)

Documentation

Sort and remove multiples in SEQUENCE.

Sequence should be a vector or list of strings.

Probably introduced at or before Emacs version 27.1.

Aliases

pcomplete-uniqify-list (obsolete since 27.1)

Source Code

;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
;; general utilities

(defun pcomplete-uniquify-list (sequence)
  "Sort and remove multiples in SEQUENCE.
Sequence should be a vector or list of strings."
  (sort (seq-uniq sequence) #'string-lessp))