annotate lisp/dos-w32.el @ 18001:9846609c4fd5

(struct iso2022_spec): Member requested_designation is changed to array of unsigned char. (CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION): New macro.
author Kenichi Handa <handa@m17n.org>
date Wed, 28 May 1997 04:36:26 +0000
parents 6ea4d90cc76b
children ad717015a2de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16591
afb15f49a0c9 Use new file name dos-w32.el
Geoff Voelker <voelker@cs.washington.edu>
parents: 16234
diff changeset
1 ;;; dos-w32.el --- Functions shared among MS-DOS and W32 (NT/95) platforms
16026
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 ;; Copyright (C) 1996 Free Software Foundation, Inc.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 ;; Maintainer: Geoff Voelker (voelker@cs.washington.edu)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 ;; Keywords: internal
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; any later version.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 ;; Parts of this code are duplicated functions taken from dos-fns.el
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ;; and winnt.el.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ;;; Code:
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ;;; Add %t: into the mode line format just after the open-paren.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 (let ((tail (member " %[(" mode-line-format)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 (setcdr tail (cons (purecopy "%t:")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 (cdr tail))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ;; Use ";" instead of ":" as a path separator (from files.el).
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 (setq path-separator ";")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40 ;; Set the null device (for compile.el).
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 (setq grep-null-device "NUL")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 ;; Set the grep regexp to match entries with drive letters.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 (setq grep-regexp-alist
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
45 '(("^\\(\\([a-zA-Z]:\\)?[^:( \t\n]+\\)[:( \t]+\\([0-9]+\\)[:) \t]" 1 3)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
47 ;; For distinguishing file types based upon suffixes.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48 (defvar file-name-buffer-file-type-alist
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
49 '(
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
50 ("[:/].*config.sys$" . nil) ; config.sys text
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
51 ("\\.elc$" . t) ; emacs stuff
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
52 ("\\.\\(obj\\|exe\\|com\\|lib\\|sys\\|chk\\|out\\|bin\\|ico\\|pif\\)$" . t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
53 ; MS-Dos stuff
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
54 ("\\.\\(arc\\|zip\\|pak\\|lzh\\|zoo\\)$" . t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
55 ; Packers
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
56 ("\\.\\(a\\|o\\|tar\\|z\\|gz\\|taz\\)$" . t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
57 ; Unix stuff
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
58 ("\\.tp[ulpw]$" . t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
59 ; Borland Pascal stuff
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
60 ("[:/]tags$" . t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
61 ; Emacs TAGS file
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62 )
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 "*Alist for distinguishing text files from binary files.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 Each element has the form (REGEXP . TYPE), where REGEXP is matched
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
65 against the file name, and TYPE is nil for text, t for binary.")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 (defun find-buffer-file-type (filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 ;; First check if file is on an untranslated filesystem, then on the alist.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69 (if (untranslated-file-p filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 t ; for binary
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 (let ((alist file-name-buffer-file-type-alist)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 (found nil)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73 (code nil))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 (let ((case-fold-search t))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 (setq filename (file-name-sans-versions filename))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
76 (while (and (not found) alist)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
77 (if (string-match (car (car alist)) filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
78 (setq code (cdr (car alist))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 found t))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80 (setq alist (cdr alist))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 (if found
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
82 (cond ((memq code '(nil t)) code)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 ((and (symbolp code) (fboundp code))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84 (funcall code filename)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
85 default-buffer-file-type))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
86
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
87 (defun find-file-binary (filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
88 "Visit file FILENAME and treat it as binary."
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
89 (interactive "FFind file binary: ")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
90 (let ((file-name-buffer-file-type-alist '(("" . t))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
91 (find-file filename)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
92
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
93 (defun find-file-text (filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
94 "Visit file FILENAME and treat it as a text file."
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
95 (interactive "FFind file text: ")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
96 (let ((file-name-buffer-file-type-alist '(("" . nil))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
97 (find-file filename)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
98
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
99 (defun find-file-not-found-set-buffer-file-type ()
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
100 (save-excursion
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
101 (set-buffer (current-buffer))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
102 (setq buffer-file-type (find-buffer-file-type (buffer-file-name))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 nil)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 ;;; To set the default file type on new files.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
106 (add-hook 'find-file-not-found-hooks 'find-file-not-found-set-buffer-file-type)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
107
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
108
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 ;;; To accomodate filesystems that do not require CR/LF translation.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 (defvar untranslated-filesystem-list nil
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 "List of filesystems that require no CR/LF translation when reading
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112 and writing files. Each filesystem in the list is a string naming
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 the directory prefix corresponding to the filesystem.")
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
114
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 (defun untranslated-canonical-name (filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116 "Return FILENAME in a canonicalized form for use with the functions
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 dealing with untranslated filesystems."
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
118 (if (memq system-type '(ms-dos windows-nt))
16889
8de32e992e4d Change uses of win32 to w32.
Geoff Voelker <voelker@cs.washington.edu>
parents: 16591
diff changeset
119 ;; The canonical form for DOS/W32 is with A-Z downcased and all
16026
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120 ;; directory separators changed to directory-sep-char.
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 (let ((name nil))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 (setq name (mapconcat
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 '(lambda (char)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 (if (and (<= ?A char) (<= char ?Z))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 (char-to-string (+ (- char ?A) ?a))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126 (char-to-string char)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 filename nil))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 ;; Use expand-file-name to canonicalize directory separators, except
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 ;; with bare drive letters (which would have the cwd appended).
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130 (if (string-match "^.:$" name)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 name
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132 (expand-file-name name)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 filename))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 (defun untranslated-file-p (filename)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 "Return t if FILENAME is on a filesystem that does not require
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 CR/LF translation, and nil otherwise."
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 (let ((fs (untranslated-canonical-name filename))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 (ufs-list untranslated-filesystem-list)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 (found nil))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 (while (and (not found) ufs-list)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 (if (string-match (concat "^" (car ufs-list)) fs)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 (setq found t)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
144 (setq ufs-list (cdr ufs-list))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 found))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 (defun add-untranslated-filesystem (filesystem)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 "Add FILESYSTEM to the list of filesystems that do not require
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 CR/LF translation. FILESYSTEM is a string containing the directory
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 prefix corresponding to the filesystem. For example, for a Unix
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
17901
6ea4d90cc76b (add-untranslated-filesystem)
Richard M. Stallman <rms@gnu.org>
parents: 16889
diff changeset
152 (interactive "fUntranslated file system: ")
16026
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 (let ((fs (untranslated-canonical-name filesystem)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
154 (if (member fs untranslated-filesystem-list)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 untranslated-filesystem-list
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 (setq untranslated-filesystem-list
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157 (cons fs untranslated-filesystem-list)))))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 (defun remove-untranslated-filesystem (filesystem)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160 "Remove FILESYSTEM from the list of filesystems that do not require
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 CR/LF translation. FILESYSTEM is a string containing the directory
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 prefix corresponding to the filesystem. For example, for a Unix
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"."
17901
6ea4d90cc76b (add-untranslated-filesystem)
Richard M. Stallman <rms@gnu.org>
parents: 16889
diff changeset
164 (interactive "fUntranslated file system: ")
16026
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 (setq untranslated-filesystem-list
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 (delete (untranslated-canonical-name filesystem)
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167 untranslated-filesystem-list)))
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
168
16591
afb15f49a0c9 Use new file name dos-w32.el
Geoff Voelker <voelker@cs.washington.edu>
parents: 16234
diff changeset
169 (provide 'dos-w32)
16026
9e883e873c01 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170
16591
afb15f49a0c9 Use new file name dos-w32.el
Geoff Voelker <voelker@cs.washington.edu>
parents: 16234
diff changeset
171 ;;; dos-w32.el ends here