0
|
1 ;;; nnheaderxm.el --- making Gnus backends work under XEmacs
|
98
|
2 ;; Copyright (C) 1996,97 Free Software Foundation, Inc.
|
0
|
3
|
|
4 ;; Author: Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
|
|
5 ;; Keywords: news
|
|
6
|
|
7 ;; This file is part of GNU Emacs.
|
|
8
|
|
9 ;; GNU Emacs is free software; you can redistribute it and/or modify
|
|
10 ;; it under the terms of the GNU General Public License as published by
|
|
11 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
12 ;; any later version.
|
|
13
|
|
14 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 ;; GNU General Public License for more details.
|
|
18
|
|
19 ;; You should have received a copy of the GNU General Public License
|
|
20 ;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
22 ;; Boston, MA 02111-1307, USA.
|
|
23
|
|
24 ;;; Commentary:
|
|
25
|
|
26 ;;; Code:
|
|
27
|
|
28 (defun nnheader-xmas-run-at-time (time repeat function &rest args)
|
|
29 (start-itimer
|
|
30 "nnheader-run-at-time"
|
|
31 `(lambda ()
|
|
32 (,function ,@args))
|
|
33 time repeat))
|
|
34
|
|
35 (fset 'nnheader-run-at-time 'nnheader-xmas-run-at-time)
|
153
|
36 (fset 'nnheader-cancel-timer 'delete-itimer)
|
|
37 (fset 'nnheader-cancel-function-timers 'ignore)
|
0
|
38
|
|
39 (provide 'nnheaderxm)
|
|
40
|
|
41 ;;; nnheaderxm.el ends here.
|