Function: textsec-ascii-confusable-p

textsec-ascii-confusable-p is a byte-compiled function defined in textsec.el.gz.

Signature

(textsec-ascii-confusable-p STRING)

Documentation

Return non-nil if non-ASCII STRING can be confused with ASCII on display.

Source Code

;; Defined in /usr/src/emacs/lisp/international/textsec.el.gz
(defun textsec-ascii-confusable-p (string)
  "Return non-nil if non-ASCII STRING can be confused with ASCII on display."
  (and (not (eq (textsec-restriction-level string) 'ascii-only))
       (eq (textsec-restriction-level (textsec-unconfuse-string string))
           'ascii-only)))