Mercurial > emacs
changeset 13806:640ac6d840c1
(rmail-spool-directory): Try /var/spool/mail.
(news-path): Use /var/spool/news as last resort.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 21 Dec 1995 18:01:03 +0000 |
parents | bff931d8f21a |
children | 2042acfaf58b |
files | lisp/paths.el |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/paths.el Thu Dec 21 17:59:43 1995 +0000 +++ b/lisp/paths.el Thu Dec 21 18:01:03 1995 +0000 @@ -48,7 +48,10 @@ Therefore, the directory of Info files that come with Emacs normally should come last (so that local files override standard ones).") -(defvar news-path "/usr/spool/news/" +(defvar news-path + (if (file-exists-p "/usr/spool/news/") + "/usr/spool/news/" + "/var/spool/news/") "The root directory below which all news files are stored.") (defvar news-inews-program @@ -98,6 +101,9 @@ ;; let's assume this dir is never used for anything else. ((file-exists-p "/var/mail") "/var/mail/") + ;; Many GNU/Linux systems use this name. + ((file-exists-p "/var/spool/mail") + "/var/spool/mail") ((memq system-type '(dgux hpux usg-unix-v unisoft-unix rtu irix)) "/usr/mail/") (t "/usr/spool/mail/"))