aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-07-23 10:08:40 +0000
committerGerd Moellmann2001-07-23 10:08:40 +0000
commit7c972da073f933ceebff74c0141b3f9fa79fd5b4 (patch)
tree1bfb147dca927a8ef8660ccf3f284f8e46242e22
parent3b0dbc912b2a5ca4a5cccb6c2c343e4f11b39096 (diff)
downloademacs-7c972da073f933ceebff74c0141b3f9fa79fd5b4.tar.gz
emacs-7c972da073f933ceebff74c0141b3f9fa79fd5b4.zip
(gnus-find-new-newsgroups): Use
`message-make-date' instead of `current-time-string'. (gnus-ask-server-for-new-groups): Ditto. (gnus-check-first-time-used): Ditto.
-rw-r--r--lisp/gnus/gnus-start.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 418cef404dd..42908bb4c32 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -1,5 +1,5 @@
1;;; gnus-start.el --- startup functions for Gnus 1;;; gnus-start.el --- startup functions for Gnus
2;; Copyright (C) 1996, 1997, 1998, 1999, 2000 2;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
3;; Free Software Foundation, Inc. 3;; Free Software Foundation, Inc.
4 4
5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -980,7 +980,7 @@ for new groups, and subscribe the new groups as zombies."
980 (gnus-message 5 "Looking for new newsgroups...") 980 (gnus-message 5 "Looking for new newsgroups...")
981 (unless gnus-have-read-active-file 981 (unless gnus-have-read-active-file
982 (gnus-read-active-file)) 982 (gnus-read-active-file))
983 (setq gnus-newsrc-last-checked-date (current-time-string)) 983 (setq gnus-newsrc-last-checked-date (message-make-date))
984 (unless gnus-killed-hashtb 984 (unless gnus-killed-hashtb
985 (gnus-make-hashtable-from-killed)) 985 (gnus-make-hashtable-from-killed))
986 ;; Go though every newsgroup in `gnus-active-hashtb' and compare 986 ;; Go though every newsgroup in `gnus-active-hashtb' and compare
@@ -1043,7 +1043,8 @@ for new groups, and subscribe the new groups as zombies."
1043 (and regs (cdar regs)))))) 1043 (and regs (cdar regs))))))
1044 1044
1045(defun gnus-ask-server-for-new-groups () 1045(defun gnus-ask-server-for-new-groups ()
1046 (let* ((date (or gnus-newsrc-last-checked-date (current-time-string))) 1046 (let* ((new-date (message-make-date))
1047 (date (or gnus-newsrc-last-checked-date new-date))
1047 (methods (cons gnus-select-method 1048 (methods (cons gnus-select-method
1048 (nconc 1049 (nconc
1049 (when (gnus-archive-server-wanted-p) 1050 (when (gnus-archive-server-wanted-p)
@@ -1053,7 +1054,6 @@ for new groups, and subscribe the new groups as zombies."
1053 gnus-check-new-newsgroups) 1054 gnus-check-new-newsgroups)
1054 gnus-secondary-select-methods)))) 1055 gnus-secondary-select-methods))))
1055 (groups 0) 1056 (groups 0)
1056 (new-date (current-time-string))
1057 group new-newsgroups got-new method hashtb 1057 group new-newsgroups got-new method hashtb
1058 gnus-override-subscribe-method) 1058 gnus-override-subscribe-method)
1059 (unless gnus-killed-hashtb 1059 (unless gnus-killed-hashtb
@@ -1127,7 +1127,7 @@ for new groups, and subscribe the new groups as zombies."
1127 (unless (gnus-read-active-file-p) 1127 (unless (gnus-read-active-file-p)
1128 (let ((gnus-read-active-file t)) 1128 (let ((gnus-read-active-file t))
1129 (gnus-read-active-file))) 1129 (gnus-read-active-file)))
1130 (setq gnus-newsrc-last-checked-date (current-time-string)) 1130 (setq gnus-newsrc-last-checked-date (message-make-date))
1131 ;; Subscribe to the default newsgroups. 1131 ;; Subscribe to the default newsgroups.
1132 (let ((groups (or gnus-default-subscribed-newsgroups 1132 (let ((groups (or gnus-default-subscribed-newsgroups
1133 gnus-backup-default-subscribed-newsgroups)) 1133 gnus-backup-default-subscribed-newsgroups))