HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a091f2
)
(abbreviate-file-name): Handle drive letters on windows-nt as on ms-dos.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Nov 1994 05:48:21 +0000
(
05:48
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 1 Nov 1994 05:48:21 +0000
(
05:48
+0000)
lisp/files.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index
06c6950
..
6037b19
100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-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