diff options
| -rw-r--r-- | lisp/mail/rmail.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index ad364edeea1..cd2a961638e 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -149,6 +149,13 @@ its character representation and its display representation.") | |||
| 149 | :version "21.1") | 149 | :version "21.1") |
| 150 | 150 | ||
| 151 | ;;;###autoload | 151 | ;;;###autoload |
| 152 | (put 'rmail-spool-directory 'standard-value | ||
| 153 | '((cond ((file-exists-p "/var/mail") "/var/mail/") | ||
| 154 | ((file-exists-p "/var/spool/mail") "/var/spool/mail/") | ||
| 155 | ((memq system-type '(hpux usg-unix-v irix)) "/usr/mail/") | ||
| 156 | (t "/usr/spool/mail/")))) | ||
| 157 | |||
| 158 | ;;;###autoload | ||
| 152 | (defcustom rmail-spool-directory | 159 | (defcustom rmail-spool-directory |
| 153 | (purecopy | 160 | (purecopy |
| 154 | (cond ((file-exists-p "/var/mail") | 161 | (cond ((file-exists-p "/var/mail") |
| @@ -166,6 +173,8 @@ Its name should end with a slash." | |||
| 166 | :type 'directory | 173 | :type 'directory |
| 167 | :group 'rmail) | 174 | :group 'rmail) |
| 168 | 175 | ||
| 176 | ;;;###autoload(custom-initialize-delay 'rmail-spool-directory nil) | ||
| 177 | |||
| 169 | (defcustom rmail-movemail-program nil | 178 | (defcustom rmail-movemail-program nil |
| 170 | "If non-nil, the file name of the `movemail' program." | 179 | "If non-nil, the file name of the `movemail' program." |
| 171 | :group 'rmail-retrieve | 180 | :group 'rmail-retrieve |