]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 06c6950b01c77cafbb3911ed8119cc31446aacb6..6037b19435d3a1cc21b9bb4b54f23c12402f30da 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