diff options
| author | Glenn Morris | 2009-08-22 21:53:34 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-08-22 21:53:34 +0000 |
| commit | 3f12e3f4bf054763b6507577e72a55a02302ace7 (patch) | |
| tree | 51e88c51afeb00a107b4bc6dbb4b25717e0e1f48 | |
| parent | 9940702bcb0915c5630e982212825a1c697ca857 (diff) | |
| download | emacs-3f12e3f4bf054763b6507577e72a55a02302ace7.tar.gz emacs-3f12e3f4bf054763b6507577e72a55a02302ace7.zip | |
Remove code for defunct system-types Apple-Macintosh, emx, ms-windows,
next-mach.
| -rw-r--r-- | lisp/url/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/url/url-file.el | 7 | ||||
| -rw-r--r-- | lisp/url/url-privacy.el | 7 |
3 files changed, 11 insertions, 9 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index a081ff74c97..e5ce8837b9b 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-08-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * url-file.el (url-file-build-filename): | ||
| 4 | * url-privacy.el (url-setup-privacy-info): Remove code for defunct | ||
| 5 | system-types Apple-Macintosh, emx, ms-windows, next-mach. | ||
| 6 | |||
| 1 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> | 7 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * Branch for 23.1. | 9 | * Branch for 23.1. |
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 @@ | |||
| 1 | ;;; url-file.el --- File retrieval code | 1 | ;;; url-file.el --- File retrieval code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes | 6 | ;; Keywords: comm, data, processes |
| 7 | 7 | ||
| @@ -105,8 +105,7 @@ to them." | |||
| 105 | (file (url-unhex-string (url-filename url))) | 105 | (file (url-unhex-string (url-filename url))) |
| 106 | (filename (if (or user (not (url-file-host-is-local-p host))) | 106 | (filename (if (or user (not (url-file-host-is-local-p host))) |
| 107 | (concat "/" (or user "anonymous") "@" site ":" file) | 107 | (concat "/" (or user "anonymous") "@" site ":" file) |
| 108 | (if (and (memq system-type | 108 | (if (and (memq system-type '(ms-dos windows-nt)) |
| 109 | '(emx ms-dos windows-nt ms-windows)) | ||
| 110 | (string-match "^/[a-zA-Z]:/" file)) | 109 | (string-match "^/[a-zA-Z]:/" file)) |
| 111 | (substring file 1) | 110 | (substring file 1) |
| 112 | file))) | 111 | file))) |
diff --git a/lisp/url/url-privacy.el b/lisp/url/url-privacy.el index 11eb6016442..9198678d507 100644 --- a/lisp/url/url-privacy.el +++ b/lisp/url/url-privacy.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; url-privacy.el --- Global history tracking for URL package | 1 | ;;; url-privacy.el --- Global history tracking for URL package |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2009 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Keywords: comm, data, processes, hypermedia | 6 | ;; Keywords: comm, data, processes, hypermedia |
| 7 | 7 | ||
| @@ -42,10 +42,7 @@ | |||
| 42 | nil) | 42 | nil) |
| 43 | ;; First, we handle the inseparable OS/Windowing system | 43 | ;; First, we handle the inseparable OS/Windowing system |
| 44 | ;; combinations | 44 | ;; combinations |
| 45 | ((eq system-type 'Apple-Macintosh) "Macintosh") | ||
| 46 | ((eq system-type 'next-mach) "NeXT") | ||
| 47 | ((eq system-type 'windows-nt) "Windows-NT; 32bit") | 45 | ((eq system-type 'windows-nt) "Windows-NT; 32bit") |
| 48 | ((eq system-type 'ms-windows) "Windows; 16bit") | ||
| 49 | ((eq system-type 'ms-dos) "MS-DOS; 32bit") | 46 | ((eq system-type 'ms-dos) "MS-DOS; 32bit") |
| 50 | ((memq (url-device-type) '(win32 w32)) "Windows; 32bit") | 47 | ((memq (url-device-type) '(win32 w32)) "Windows; 32bit") |
| 51 | ((eq (url-device-type) 'pm) "OS/2; 32bit") | 48 | ((eq (url-device-type) 'pm) "OS/2; 32bit") |