aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-07-16 02:32:51 +0000
committerGlenn Morris2008-07-16 02:32:51 +0000
commitebff23530ab302cb63fb0cddab2b62b1ce2a3ce9 (patch)
tree1fd9898e58e9638ff2a45c1e3fa32dc8ba5eaf24
parentce21e9c3deec66916492307b2538edb321aab0bc (diff)
downloademacs-ebff23530ab302cb63fb0cddab2b62b1ce2a3ce9.tar.gz
emacs-ebff23530ab302cb63fb0cddab2b62b1ce2a3ce9.zip
(rmail-spool-directory): Remove settings for systems that are no
longer supported.
-rw-r--r--lisp/paths.el20
1 files changed, 7 insertions, 13 deletions
diff --git a/lisp/paths.el b/lisp/paths.el
index 6aece35b69e..15705fc8cae 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -1,7 +1,7 @@
1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*- 1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
7;; Keywords: internal 7;; Keywords: internal
@@ -137,21 +137,15 @@ The `ORGANIZATION' environment variable is used instead if defined.")
137 :version "21.1") 137 :version "21.1")
138 138
139(defvar rmail-spool-directory 139(defvar rmail-spool-directory
140 (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration) 140 (cond ((file-exists-p "/var/mail")
141 "/usr/spool/mail/") 141 ;; SVR4 and recent BSD are said to use this.
142 ;; On The Bull DPX/2 /usr/spool/mail is used although 142 ;; Rather than trying to know precisely which systems use it,
143 ;; it is usg-unix-v. 143 ;; let's assume this dir is never used for anything else.
144 ((string-match "^m68k-bull-sysv3" system-configuration)
145 "/usr/spool/mail/")
146 ;; SVR4 and recent BSD are said to use this.
147 ;; Rather than trying to know precisely which systems use it,
148 ;; let's assume this dir is never used for anything else.
149 ((file-exists-p "/var/mail")
150 "/var/mail/") 144 "/var/mail/")
151 ;; Many GNU/Linux systems use this name. 145 ;; Many GNU/Linux systems use this name.
152 ((file-exists-p "/var/spool/mail") 146 ((file-exists-p "/var/spool/mail")
153 "/var/spool/mail/") 147 "/var/spool/mail/")
154 ((memq system-type '(hpux usg-unix-v unisoft-unix irix)) 148 ((memq system-type '(hpux usg-unix-v irix))
155 "/usr/mail/") 149 "/usr/mail/")
156 (t "/usr/spool/mail/")) 150 (t "/usr/spool/mail/"))
157 "Name of directory used by system mailer for delivering new mail. 151 "Name of directory used by system mailer for delivering new mail.