Function: w32-untranslated-file-p

w32-untranslated-file-p is a byte-compiled function defined in dos-w32.el.gz.

Signature

(w32-untranslated-file-p FILENAME)

Documentation

Return t if FILENAME is on a filesystem that does not require CR/LF translation, and nil otherwise.

Source Code

;; Defined in /usr/src/emacs/lisp/dos-w32.el.gz
(defun w32-untranslated-file-p (filename)
  "Return t if FILENAME is on a filesystem that does not require
CR/LF translation, and nil otherwise."
  (let ((fs (w32-untranslated-canonical-name filename))
	(ufs-list w32-untranslated-filesystem-list)
	(found nil))
    (while (and (not found) ufs-list)
      (if (string-match-p (concat "^" (car ufs-list)) fs)
	  (setq found t)
	(setq ufs-list (cdr ufs-list))))
    found))