+default, which is system-dependent, and is the same as used by Rmail."
+ :type '(choice (const :tag "None" none)
+ (const :tag "Default" nil)
+ (file :format "%v"))
+ :group 'display-time)
+
+(defcustom display-time-mail-directory nil
+ "*Name of mail inbox directory, for indicating existence of new mail.
+Any nonempty regular file in the directory is regarded as newly arrived mail.
+If nil, do not check a directory for arriving mail."
+ :type '(choice (const :tag "None" nil)
+ (directory :format "%v"))
+ :group 'display-time)
+
+(defcustom display-time-mail-function nil
+ "*Function to call, for indicating existence of new mail.
+If nil, that means use the default method: check that the file
+specified by `display-time-mail-file' is nonempty or that the
+directory `display-time-mail-directory' contains nonempty files."
+ :type '(choice (const :tag "Default" nil)
+ (function))
+ :group 'display-time)
+
+(defcustom display-time-default-load-average 0
+ "*Which load average value will be shown in the mode line.
+Almost every system can provide values of load for past 1 minute, past 5 or
+past 15 minutes. The default is to display 1 minute load average."
+ :type '(choice (const :tag "1 minute load" 0)
+ (const :tag "5 minutes load" 1)
+ (const :tag "15 minutes load" 2)
+ (const :tag "None" nil))
+ :group 'display-time)
+
+(defvar display-time-load-average nil
+ "Load average currently being shown in mode line.")
+
+(defcustom display-time-load-average-threshold 0.1
+ "*Load-average values below this value won't be shown in the mode line."
+ :type 'number
+ :group 'display-time)