Mercurial > emacs
changeset 32919:17d5f3547c87
2000-10-26 Dirk Meyer <dischi@tzi.de>
* gnus-demon.el (gnus-demon-time-to-step): theHour was set to
seconds instead of hour.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 26 Oct 2000 17:14:08 +0000 |
parents | dd8c5458b624 |
children | 5b203c66fa7b |
files | lisp/gnus/gnus-demon.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus/gnus-demon.el Thu Oct 26 17:13:22 2000 +0000 +++ b/lisp/gnus/gnus-demon.el Thu Oct 26 17:14:08 2000 +0000 @@ -2,6 +2,7 @@ ;; Copyright (C) 1995,96,97,98,99 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> +;; Maintainer: bugs@gnus.org ;; 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 @@ (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