(abbreviate-file-name): Handle drive letters on windows-nt as on ms-dos.
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 05:48:21 +0000 (05:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Nov 1994 05:48:21 +0000 (05:48 +0000)
lisp/files.el

index 06c6950..6037b19 100644 (file)
@@ -597,7 +597,8 @@ Type \\[describe-variable] directory-abbrev-alist RET for more information."
             ;; If the home dir is just /, don't change it.
             (not (and (= (match-end 0) 1)
                       (= (aref filename 0) ?/)))
-            (not (and (eq system-type 'ms-dos)
+            (not (and (or (eq system-type 'ms-dos) 
+                          (eq system-type 'windows-nt))
                       (save-match-data
                         (string-match "^[a-zA-Z]:/$" filename)))))
        (setq filename