Function: w32-add-untranslated-filesystem
w32-add-untranslated-filesystem is an interactive and byte-compiled
function defined in dos-w32.el.gz.
Signature
(w32-add-untranslated-filesystem FILESYSTEM)
Documentation
Add FILESYSTEM to the list of filesystems that do not require CR/LF translation. FILESYSTEM is a string containing the directory prefix corresponding to the filesystem. For example, for a Unix filesystem mounted on drive Z:, FILESYSTEM could be "Z:".
Key Bindings
Aliases
add-untranslated-filesystem (obsolete since 24.4)
Source Code
;; Defined in /usr/src/emacs/lisp/dos-w32.el.gz
(defun w32-add-untranslated-filesystem (filesystem)
"Add FILESYSTEM to the list of filesystems that do not require
CR/LF translation. FILESYSTEM is a string containing the directory
prefix corresponding to the filesystem. For example, for a Unix
filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
;; We use "D", not "f", to avoid confusing the user: "f" prompts
;; with a directory, but RET returns the current buffer's file, not
;; its directory.
(interactive "DUntranslated file system: ")
(let ((fs (w32-untranslated-canonical-name filesystem)))
(if (member fs w32-untranslated-filesystem-list)
w32-untranslated-filesystem-list
(push fs w32-untranslated-filesystem-list))))