diff options
author | Glenn Morris <rgm@gnu.org> | 2008-07-16 02:32:51 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-07-16 02:32:51 +0000 |
commit | ebff23530ab302cb63fb0cddab2b62b1ce2a3ce9 (patch) | |
tree | 1fd9898e58e9638ff2a45c1e3fa32dc8ba5eaf24 /lisp/paths.el | |
parent | ce21e9c3deec66916492307b2538edb321aab0bc (diff) | |
download | emacs-ebff23530ab302cb63fb0cddab2b62b1ce2a3ce9.tar.gz |
(rmail-spool-directory): Remove settings for systems that are no
longer supported.
Diffstat (limited to 'lisp/paths.el')
-rw-r--r-- | lisp/paths.el | 20 |
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 @@ ;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*- -;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; Copyright (C) 1986, 1988, 1994, 1999, 2000, 2001, 2002, 2003, 2004, +;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: internal @@ -137,21 +137,15 @@ The `ORGANIZATION' environment variable is used instead if defined.") :version "21.1") (defvar rmail-spool-directory - (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration) - "/usr/spool/mail/") - ;; On The Bull DPX/2 /usr/spool/mail is used although - ;; it is usg-unix-v. - ((string-match "^m68k-bull-sysv3" system-configuration) - "/usr/spool/mail/") - ;; SVR4 and recent BSD are said to use this. - ;; Rather than trying to know precisely which systems use it, - ;; let's assume this dir is never used for anything else. - ((file-exists-p "/var/mail") + (cond ((file-exists-p "/var/mail") + ;; SVR4 and recent BSD are said to use this. + ;; Rather than trying to know precisely which systems use it, + ;; let's assume this dir is never used for anything else. "/var/mail/") ;; Many GNU/Linux systems use this name. ((file-exists-p "/var/spool/mail") "/var/spool/mail/") - ((memq system-type '(hpux usg-unix-v unisoft-unix irix)) + ((memq system-type '(hpux usg-unix-v irix)) "/usr/mail/") (t "/usr/spool/mail/")) "Name of directory used by system mailer for delivering new mail. |