From: Glenn Morris Date: Wed, 16 Jul 2008 02:32:51 +0000 (+0000) Subject: (rmail-spool-directory): Remove settings for systems that are no X-Git-Tag: emacs-pretest-23.0.90~4163 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebff23530ab302cb63fb0cddab2b62b1ce2a3ce9;p=emacs.git (rmail-spool-directory): Remove settings for systems that are no longer supported. --- 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.