aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus-msg.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index 6756b9e1c52..099b5e1ebeb 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1383,8 +1383,12 @@ domain is undefined, the domain name is got from it."
1383 1383
1384(defun gnus-inews-date () 1384(defun gnus-inews-date ()
1385 "Current time string." 1385 "Current time string."
1386 (timezone-make-date-arpa-standard 1386 ;; We call (current-time) once, rather than letting current-time-string and
1387 (current-time-string) (current-time-zone))) 1387 ;; current-time-zone default to it, because that avoids a rare race
1388 ;; condition when the time zone changes between those two calls.
1389 (let ((now (current-time)))
1390 (timezone-make-date-arpa-standard
1391 (current-time-string now) (current-time-zone now))))
1388 1392
1389(defun gnus-inews-organization () 1393(defun gnus-inews-organization ()
1390 "Return user's organization. 1394 "Return user's organization.