]> git.eshelyaron.com Git - emacs.git/commitdiff
Add missing autload pieces needed for rmail-spool-directory's delayed init
authorGlenn Morris <rgm@gnu.org>
Thu, 24 May 2012 07:20:34 +0000 (00:20 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 24 May 2012 07:20:34 +0000 (00:20 -0700)
lisp/mail/rmail.el

index ad364edeea1298d89894cf470f9027f4f0a7c37e..cd2a961638e54de3a8016fb4677d73dd1ea1534b 100644 (file)
@@ -148,6 +148,13 @@ its character representation and its display representation.")
   :group 'rmail
   :version "21.1")
 
+;;;###autoload
+(put 'rmail-spool-directory 'standard-value
+     '((cond ((file-exists-p "/var/mail") "/var/mail/")
+            ((file-exists-p "/var/spool/mail") "/var/spool/mail/")
+            ((memq system-type '(hpux usg-unix-v irix)) "/usr/mail/")
+            (t "/usr/spool/mail/"))))
+
 ;;;###autoload
 (defcustom rmail-spool-directory
   (purecopy
@@ -166,6 +173,8 @@ Its name should end with a slash."
   :type 'directory
   :group 'rmail)
 
+;;;###autoload(custom-initialize-delay 'rmail-spool-directory nil)
+
 (defcustom rmail-movemail-program nil
   "If non-nil, the file name of the `movemail' program."
   :group 'rmail-retrieve