# HG changeset patch # User Richard M. Stallman # Date 782447980 0 # Node ID a035cc3716a1b89d44b056acec1262efa0aeaa68 # Parent bcc9342cf633186b907a7af66710c95c3ae25f18 (display-time-filter): Ignore mail-spool-file if not string. diff -r bcc9342cf633 -r a035cc3716a1 lisp/time.el --- a/lisp/time.el Tue Oct 18 02:32:43 1994 +0000 +++ b/lisp/time.el Tue Oct 18 02:39:40 1994 +0000 @@ -29,7 +29,8 @@ (defvar display-time-mail-file nil "*File name of mail inbox file, for indicating existence of new mail. -Default is system-dependent, and is the same as used by Rmail.") +Non-nil and not a string means don't check for mail. nil means use +default, which is system-dependent, and is the same as used by Rmail.") ;;;###autoload (defvar display-time-day-and-date nil "\ @@ -127,7 +128,8 @@ (getenv "MAIL") (concat rmail-spool-directory (user-login-name)))) - (mail (and (or (null display-time-server-down-time) + (mail (and (stringp mail-spool-file) + (or (null display-time-server-down-time) ;; If have been down for 20 min, try again. (> (- (nth 1 (current-time)) display-time-server-down-time)