summaryrefslogtreecommitdiff
path: root/lisp/time.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/time.el')
-rw-r--r--lisp/time.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/time.el b/lisp/time.el
index 3e61e78448d..fe3df1f99ac 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -98,9 +98,7 @@ After each update, `display-time-hook' is run with `run-hooks'."
(mail-spool-file (or display-time-mail-file
(getenv "MAIL")
(concat rmail-spool-directory
- (or (getenv "LOGNAME")
- (getenv "USER")
- (user-login-name)))))
+ (user-login-name))))
hour am-pm-flag mail-flag)
(setq hour (read (substring time 11 13)))
(if (not display-time-24hr-format)