Function: textsec-scripts

textsec-scripts is a byte-compiled function defined in textsec.el.gz.

Signature

(textsec-scripts STRING)

Documentation

Return a list of Unicode scripts used in STRING.

The scripts returned by this function use the Unicode Script property as defined by the Unicode Standard Annex 24 (UAX#24).

Source Code

;; Defined in /usr/src/emacs/lisp/international/textsec.el.gz
(defun textsec-scripts (string)
  "Return a list of Unicode scripts used in STRING.
The scripts returned by this function use the Unicode Script property
as defined by the Unicode Standard Annex 24 (UAX#24)."
  (seq-map (lambda (char)
             (elt textsec--char-scripts char))
           string))