changeset 104551:dbd882f3da46

Remove code for defunct system-types Apple-Macintosh, emx, ms-windows, next-mach.
author Glenn Morris <rgm@gnu.org>
date Sat, 22 Aug 2009 21:53:34 +0000
parents 2e78f19a963d
children 10c38084881d
files lisp/url/ChangeLog lisp/url/url-file.el lisp/url/url-privacy.el
diffstat 3 files changed, 11 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/ChangeLog	Sat Aug 22 21:46:56 2009 +0000
+++ b/lisp/url/ChangeLog	Sat Aug 22 21:53:34 2009 +0000
@@ -1,3 +1,9 @@
+2009-08-22  Glenn Morris  <rgm@gnu.org>
+
+	* url-file.el (url-file-build-filename):
+	* url-privacy.el (url-setup-privacy-info): Remove code for defunct
+	system-types Apple-Macintosh, emx, ms-windows, next-mach.
+
 2009-06-21  Chong Yidong  <cyd@stupidchicken.com>
 
 	* Branch for 23.1.
--- a/lisp/url/url-file.el	Sat Aug 22 21:46:56 2009 +0000
+++ b/lisp/url/url-file.el	Sat Aug 22 21:53:34 2009 +0000
@@ -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 @@
 	 (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)))
--- a/lisp/url/url-privacy.el	Sat Aug 22 21:46:56 2009 +0000
+++ b/lisp/url/url-privacy.el	Sat Aug 22 21:53:34 2009 +0000
@@ -1,7 +1,7 @@
 ;;; url-privacy.el --- Global history tracking for URL package
 
-;; 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, hypermedia
 
@@ -42,10 +42,7 @@
 	  nil)
 	 ;; First, we handle the inseparable OS/Windowing system
 	 ;; combinations
-	 ((eq system-type 'Apple-Macintosh) "Macintosh")
-	 ((eq system-type 'next-mach) "NeXT")
 	 ((eq system-type 'windows-nt) "Windows-NT; 32bit")
-	 ((eq system-type 'ms-windows) "Windows; 16bit")
 	 ((eq system-type 'ms-dos) "MS-DOS; 32bit")
 	 ((memq (url-device-type) '(win32 w32)) "Windows; 32bit")
 	 ((eq (url-device-type) 'pm) "OS/2; 32bit")