diff options
author | Glenn Morris <rgm@gnu.org> | 2009-08-22 21:53:34 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-08-22 21:53:34 +0000 |
commit | 3f12e3f4bf054763b6507577e72a55a02302ace7 (patch) | |
tree | 51e88c51afeb00a107b4bc6dbb4b25717e0e1f48 /lisp/url/url-file.el | |
parent | 9940702bcb0915c5630e982212825a1c697ca857 (diff) | |
download | emacs-3f12e3f4bf054763b6507577e72a55a02302ace7.tar.gz |
Remove code for defunct system-types Apple-Macintosh, emx, ms-windows,
next-mach.
Diffstat (limited to 'lisp/url/url-file.el')
-rw-r--r-- | lisp/url/url-file.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/url/url-file.el b/lisp/url/url-file.el index bb8f136c6a1..e58da0e302a 100644 --- a/lisp/url/url-file.el +++ b/lisp/url/url-file.el @@ -1,7 +1,7 @@ ;;; url-file.el --- File retrieval code -;; Copyright (C) 1996, 1997, 1998, 1999, 2004, -;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, +;; 2009 Free Software Foundation, Inc. ;; Keywords: comm, data, processes @@ -105,8 +105,7 @@ to them." (file (url-unhex-string (url-filename url))) (filename (if (or user (not (url-file-host-is-local-p host))) (concat "/" (or user "anonymous") "@" site ":" file) - (if (and (memq system-type - '(emx ms-dos windows-nt ms-windows)) + (if (and (memq system-type '(ms-dos windows-nt)) (string-match "^/[a-zA-Z]:/" file)) (substring file 1) file))) |