aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-22 20:36:53 +0000
committerRichard M. Stallman1994-05-22 20:36:53 +0000
commit4233819a6e4637e08065d6ab8a57a3aa95fa1075 (patch)
treeec46a52d89f3b4c9f8193088b56a1008a8807878
parent8a1bbe07a8148ac73f77fd47ad256bf55214f83b (diff)
downloademacs-4233819a6e4637e08065d6ab8a57a3aa95fa1075.tar.gz
emacs-4233819a6e4637e08065d6ab8a57a3aa95fa1075.zip
(rmail-spool-directory): Maybe use /var/mail.
-rw-r--r--lisp/paths.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/paths.el b/lisp/paths.el
index f4748f96921..3cf574352ba 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -90,6 +90,12 @@ Will use `gnus-startup-file'-SERVER instead if exists.")
90(defconst rmail-spool-directory 90(defconst rmail-spool-directory
91 (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration) 91 (cond ((string-match "^[^-]+-[^-]+-sco3.2v4" system-configuration)
92 "/usr/spool/mail/") 92 "/usr/spool/mail/")
93 ;; SVR4 is said to use /var/mail, and make /usr/mail a link to that;
94 ;; but since I'm not sure it's generally true, calling file-exists-p
95 ;; prevents lossage if it isn't true. -- rms.
96 ((and (string-match "^[^-]+-[^-]+-sysv4" system-configuration)
97 (file-exists-p "/var/mail"))
98 "/var/mail/")
93 ((memq system-type '(dgux hpux usg-unix-v unisoft-unix rtu irix)) 99 ((memq system-type '(dgux hpux usg-unix-v unisoft-unix rtu irix))
94 "/usr/mail/") 100 "/usr/mail/")
95 ((eq system-type 'netbsd) 101 ((eq system-type 'netbsd)