aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-10-26 17:14:08 +0000
committerDave Love <[email protected]>2000-10-26 17:14:08 +0000
commita211301f9640daf02dccbf959c6bb8b9dfef438b (patch)
tree9582492ecf745039614d71a6fabf569b4e5d4f04
parent4f926b3e43fdd96feb861f5fafd5cd9920ffa873 (diff)
2000-10-26 Dirk Meyer <[email protected]>
* gnus-demon.el (gnus-demon-time-to-step): theHour was set to seconds instead of hour.
-rw-r--r--lisp/gnus/gnus-demon.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-demon.el b/lisp/gnus/gnus-demon.el
index 78d7286d34..f73b6774df 100644
--- a/lisp/gnus/gnus-demon.el
+++ b/lisp/gnus/gnus-demon.el
@@ -2,6 +2,7 @@
;; Copyright (C) 1995,96,97,98,99 Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <[email protected]>
+;; Maintainer: [email protected]
;; Keywords: news
;; This file is part of GNU Emacs.
@@ -34,7 +35,7 @@
(require 'nnmail)
(require 'gnus-util)
(eval-and-compile
- (if (string-match "XEmacs" (emacs-version))
+ (if (featurep 'xemacs)
(require 'itimer)
(require 'timer)))
@@ -152,7 +153,7 @@ time Emacs has been idle for IDLE `gnus-demon-timestep's."
(nowParts (decode-time now))
;; obtain THEN as discrete components
(thenParts (parse-time-string time))
- (thenHour (elt thenParts 0))
+ (thenHour (elt thenParts 2))
(thenMin (elt thenParts 1))
;; convert time as elements into number of seconds since EPOCH.
(then (encode-time 0