Function: mh-ascii-buffer-p

mh-ascii-buffer-p is a byte-compiled function defined in mh-comp.el.gz.

Signature

(mh-ascii-buffer-p)

Documentation

Check if current buffer is entirely composed of ASCII.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-comp.el.gz
(defun mh-ascii-buffer-p ()
  "Check if current buffer is entirely composed of ASCII."
  (cl-loop for charset in (find-charset-region (point-min) (point-max))
           unless (eq charset 'ascii) return nil
           finally return t))