aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-08-22 21:59:40 +0000
committerGlenn Morris2009-08-22 21:59:40 +0000
commita337468045409bc0d9179f4cdda010dbab2a5989 (patch)
treece85d6ca33e474a2c4acb3e14160c8ff9a9bb9e3
parent3f12e3f4bf054763b6507577e72a55a02302ace7 (diff)
downloademacs-a337468045409bc0d9179f4cdda010dbab2a5989.tar.gz
emacs-a337468045409bc0d9179f4cdda010dbab2a5989.zip
Remove code for defunct system-types emx, macos, mswindows,
unisoft-unix, vax-vms, win32, w32.
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/emulation/viper-ex.el1
-rw-r--r--lisp/hippie-exp.el6
-rw-r--r--lisp/international/mule-cmds.el1
-rw-r--r--lisp/lpr.el4
-rw-r--r--lisp/ls-lisp.el7
-rw-r--r--lisp/net/ange-ftp.el5
-rw-r--r--lisp/obsolete/fast-lock.el2
-rw-r--r--lisp/ps-print.el2
-rw-r--r--lisp/startup.el6
10 files changed, 26 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 469d5227010..0614405eb3c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,17 @@
12009-08-22 Glenn Morris <rgm@gnu.org> 12009-08-22 Glenn Morris <rgm@gnu.org>
2 2
3 * hippie-exp.el (he-concat-directory-file-name):
4 * lpr.el (lpr-windows-system, printer-name):
5 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
6 * ps-print.el (ps-windows-system):
7 * startup.el (command-line):
8 * emulation/viper-ex.el (viper-glob-function):
9 * international/mule-cmds.el (set-language-environment-coding-systems):
10 * net/ange-ftp.el (ange-ftp-write-region):
11 * obsolete/fast-lock.el (fast-lock-cache-name):
12 Remove code for defunct system-types emx, macos, mswindows,
13 unisoft-unix, vax-vms, win32, w32.
14
3 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a 15 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
4 given name if the pattern is not more specific. 16 given name if the pattern is not more specific.
5 17
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index 3f8c48474d5..fcc98db3204 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -329,7 +329,6 @@ Don't put `-c' here, as it is added automatically."
329 329
330(defcustom viper-glob-function 330(defcustom viper-glob-function
331 (cond (ex-unix-type-shell 'viper-glob-unix-files) 331 (cond (ex-unix-type-shell 'viper-glob-unix-files)
332 ((eq system-type 'emx) 'viper-glob-mswindows-files) ; OS/2
333 (viper-ms-style-os-p 'viper-glob-mswindows-files) ; Microsoft OS 332 (viper-ms-style-os-p 'viper-glob-mswindows-files) ; Microsoft OS
334 (t 'viper-glob-unix-files) ; presumably UNIX 333 (t 'viper-glob-unix-files) ; presumably UNIX
335 ) 334 )
diff --git a/lisp/hippie-exp.el b/lisp/hippie-exp.el
index 8cf18b17c06..752a61613bb 100644
--- a/lisp/hippie-exp.el
+++ b/lisp/hippie-exp.el
@@ -1,7 +1,7 @@
1;;; hippie-exp.el --- expand text trying various ways to find its expansion 1;;; hippie-exp.el --- expand text trying various ways to find its expansion
2 2
3;; Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 1992, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
4;; 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2009 Free Software Foundation, Inc.
5 5
6;; Author: Anders Holst <aho@sans.kth.se> 6;; Author: Anders Holst <aho@sans.kth.se>
7;; Last change: 3 March 1998 7;; Last change: 3 March 1998
@@ -519,7 +519,7 @@ otherwise."
519(defun he-concat-directory-file-name (dir-part name-part) 519(defun he-concat-directory-file-name (dir-part name-part)
520 "Try to slam together two parts of a file specification, system dependently." 520 "Try to slam together two parts of a file specification, system dependently."
521 (cond ((null dir-part) name-part) 521 (cond ((null dir-part) name-part)
522 ((memq system-type '(ms-dos w32)) 522 ((eq system-type 'ms-dos)
523 (if (and (string-match "\\\\" dir-part) 523 (if (and (string-match "\\\\" dir-part)
524 (not (string-match "/" dir-part)) 524 (not (string-match "/" dir-part))
525 (= (aref name-part (1- (length name-part))) ?/)) 525 (= (aref name-part (1- (length name-part))) ?/))
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 5ec3f286b9d..6579297ba0c 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1968,7 +1968,6 @@ See `set-language-info-alist' for use in programs."
1968 (eol-type 1968 (eol-type
1969 (if (null default-buffer-file-coding-system) 1969 (if (null default-buffer-file-coding-system)
1970 (cond ((memq system-type '(windows-nt ms-dos)) 1) 1970 (cond ((memq system-type '(windows-nt ms-dos)) 1)
1971 ((eq system-type 'macos) 2)
1972 (t 0)) 1971 (t 0))
1973 (coding-system-eol-type default-buffer-file-coding-system)))) 1972 (coding-system-eol-type default-buffer-file-coding-system))))
1974 (when priority 1973 (when priority
diff --git a/lisp/lpr.el b/lisp/lpr.el
index b8614af18ff..c12e01c1667 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -31,7 +31,7 @@
31 31
32;;;###autoload 32;;;###autoload
33(defvar lpr-windows-system 33(defvar lpr-windows-system
34 (memq system-type '(emx win32 w32 mswindows ms-dos windows-nt))) 34 (memq system-type '(ms-dos windows-nt)))
35 35
36;;;###autoload 36;;;###autoload
37(defvar lpr-lp-system 37(defvar lpr-lp-system
@@ -45,7 +45,7 @@
45 45
46;;;###autoload 46;;;###autoload
47(defcustom printer-name 47(defcustom printer-name
48 (and (memq system-type '(emx ms-dos)) "PRN") 48 (and (eq system-type 'ms-dos) "PRN")
49 "The name of a local printer to which data is sent for printing. 49 "The name of a local printer to which data is sent for printing.
50\(Note that PostScript files are sent to `ps-printer-name', which see.\) 50\(Note that PostScript files are sent to `ps-printer-name', which see.\)
51 51
diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el
index 060e4011a4a..ee5db5bf1f5 100644
--- a/lisp/ls-lisp.el
+++ b/lisp/ls-lisp.el
@@ -70,10 +70,9 @@
70 :group 'dired) 70 :group 'dired)
71 71
72(defcustom ls-lisp-emulation 72(defcustom ls-lisp-emulation
73 (cond ((eq system-type 'macos) 'MacOS) 73 (cond ;; ((eq system-type 'windows-nt) 'MS-Windows)
74 ;; ((eq system-type 'windows-nt) 'MS-Windows)
75 ((memq system-type 74 ((memq system-type
76 '(hpux usg-unix-v unisoft-unix irix berkeley-unix)) 75 '(hpux usg-unix-v irix berkeley-unix))
77 'UNIX)) ; very similar to GNU 76 'UNIX)) ; very similar to GNU
78 ;; Anything else defaults to nil, meaning GNU. 77 ;; Anything else defaults to nil, meaning GNU.
79 "Platform to emulate: GNU (default), MacOS, MS-Windows, UNIX. 78 "Platform to emulate: GNU (default), MacOS, MS-Windows, UNIX.
@@ -129,7 +128,7 @@ if emulation is GNU then default is `(links uid gid)'."
129 :group 'ls-lisp) 128 :group 'ls-lisp)
130 129
131(defcustom ls-lisp-use-insert-directory-program 130(defcustom ls-lisp-use-insert-directory-program
132 (not (memq system-type '(macos ms-dos windows-nt))) 131 (not (memq system-type '(ms-dos windows-nt)))
133 "Non-nil causes ls-lisp to revert back to using `insert-directory-program'. 132 "Non-nil causes ls-lisp to revert back to using `insert-directory-program'.
134This is useful on platforms where ls-lisp is dumped into Emacs, such as 133This is useful on platforms where ls-lisp is dumped into Emacs, such as
135Microsoft Windows, but you would still like to use a program to list 134Microsoft Windows, but you would still like to use a program to list
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index 2c20e8c94d8..8499a896db6 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -1,7 +1,8 @@
1;;; ange-ftp.el --- transparent FTP support for GNU Emacs 1;;; ange-ftp.el --- transparent FTP support for GNU Emacs
2 2
3;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 3;; Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5;; Free Software Foundation, Inc.
5 6
6;; Author: Andy Norman (ange@hplb.hpl.hp.com) 7;; Author: Andy Norman (ange@hplb.hpl.hp.com)
7;; Maintainer: FSF 8;; Maintainer: FSF
@@ -3220,7 +3221,7 @@ system TYPE.")
3220 ;; regardless. Maybe a system-type to host-type lookup? 3221 ;; regardless. Maybe a system-type to host-type lookup?
3221 (binary (or (ange-ftp-binary-file filename) 3222 (binary (or (ange-ftp-binary-file filename)
3222 (and (not (memq system-type 3223 (and (not (memq system-type
3223 '(ms-dos windows-nt macos vax-vms))) 3224 '(ms-dos windows-nt)))
3224 (memq (ange-ftp-host-type host user) 3225 (memq (ange-ftp-host-type host user)
3225 '(unix dumb-unix))))) 3226 '(unix dumb-unix)))))
3226 (cmd (if append 'append 'put)) 3227 (cmd (if append 'append 'put))
diff --git a/lisp/obsolete/fast-lock.el b/lisp/obsolete/fast-lock.el
index 66ccbed50b8..7027ab02d82 100644
--- a/lisp/obsolete/fast-lock.el
+++ b/lisp/obsolete/fast-lock.el
@@ -549,7 +549,7 @@ See `fast-lock-cache-directory'."
549 (concat buffer-file-name ".flc") 549 (concat buffer-file-name ".flc")
550 (let* ((bufile (expand-file-name buffer-file-truename)) 550 (let* ((bufile (expand-file-name buffer-file-truename))
551 (chars-alist 551 (chars-alist
552 (if (memq system-type '(emx windows-nt cygwin)) 552 (if (memq system-type '(windows-nt cygwin))
553 '((?/ . (?#)) (?# . (?# ?#)) (?: . (?\;)) (?\; . (?\; ?\;))) 553 '((?/ . (?#)) (?# . (?# ?#)) (?: . (?\;)) (?\; . (?\; ?\;)))
554 '((?/ . (?#)) (?# . (?# ?#))))) 554 '((?/ . (?#)) (?# . (?# ?#)))))
555 (mapchars 555 (mapchars
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 16be4439a59..cbf3785e3d1 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -1478,7 +1478,7 @@ Please send all bug fixes and enhancements to
1478 1478
1479 1479
1480(defconst ps-windows-system 1480(defconst ps-windows-system
1481 (memq system-type '(emx win32 w32 mswindows ms-dos windows-nt))) 1481 (memq system-type '(ms-dos windows-nt)))
1482(defconst ps-lp-system 1482(defconst ps-lp-system
1483 (memq system-type '(usg-unix-v hpux irix))) 1483 (memq system-type '(usg-unix-v hpux irix)))
1484 1484
diff --git a/lisp/startup.el b/lisp/startup.el
index 3d177f9d944..cc2165bcfb4 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -741,13 +741,9 @@ opening the first frame (e.g. open a connection to an X server).")
741 ;; Set the default strings to display in mode line for 741 ;; Set the default strings to display in mode line for
742 ;; end-of-line formats that aren't native to this platform. 742 ;; end-of-line formats that aren't native to this platform.
743 (cond 743 (cond
744 ((memq system-type '(ms-dos windows-nt emx)) 744 ((memq system-type '(ms-dos windows-nt))
745 (setq eol-mnemonic-unix "(Unix)" 745 (setq eol-mnemonic-unix "(Unix)"
746 eol-mnemonic-mac "(Mac)")) 746 eol-mnemonic-mac "(Mac)"))
747 ;; Both Mac and Unix EOLs are now "native" on Mac OS so keep the
748 ;; abbreviated strings `/' and `:' set in coding.c for them.
749 ((eq system-type 'macos)
750 (setq eol-mnemonic-dos "(DOS)"))
751 (t ; this is for Unix/GNU/Linux systems 747 (t ; this is for Unix/GNU/Linux systems
752 (setq eol-mnemonic-dos "(DOS)" 748 (setq eol-mnemonic-dos "(DOS)"
753 eol-mnemonic-mac "(Mac)"))) 749 eol-mnemonic-mac "(Mac)")))