Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Trivial itimer tweaks for password.el
@ 2004-01-06  2:02 Steve Youngs
  2004-01-06  3:10 ` Katsumi Yamaoka
  0 siblings, 1 reply; 21+ messages in thread
From: Steve Youngs @ 2004-01-06  2:02 UTC (permalink / raw)
  Cc: Simon Josefsson

[-- Attachment #1: Type: text/plain, Size: 2327 bytes --]

Hi Simon!

Just keeping things neat and tidy. :-)

NOTE: This patch has been committed.


Gnus patch:
ChangeLog files diff command: cvs -q diff -U 0
Files affected:               lisp/ChangeLog
Source files diff command:    cvs -q diff -uN
Files affected:               lisp/password.el

Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.34
diff -u -U0 -r7.34 ChangeLog
--- lisp/ChangeLog	6 Jan 2004 01:53:45 -0000	7.34
+++ lisp/ChangeLog	6 Jan 2004 02:01:13 -0000
@@ -0,0 +1,5 @@
+2004-01-06  Steve Youngs  <sryoungs@bigpond.net.au>
+
+	* password.el: Only autoload `run-at-time' if not XEmacs.
+	Only autoload the itimer functions if XEmacs.
+
Index: lisp/password.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/password.el,v
retrieving revision 7.1
diff -u -u -r7.1 password.el
--- lisp/password.el	4 Jan 2004 22:49:38 -0000	7.1
+++ lisp/password.el	6 Jan 2004 02:01:09 -0000
@@ -52,7 +52,8 @@
 
 ;;; Code:
 
-(autoload 'run-at-time "timer")
+(unless (featurep 'xemacs)
+  (autoload 'run-at-time "timer"))
 
 (eval-when-compile
   (require 'cl))
@@ -83,15 +84,16 @@
       (read-passwd prompt)))
 
 (eval-when-compile
-  (defvar itimer-process)
-  (defvar itimer-timer)
-  (autoload 'delete-itimer "itimer")
-  (autoload 'itimer-driver-start "itimer")
-  (autoload 'itimer-value "itimer")
-  (autoload 'set-itimer-function "itimer")
-  (autoload 'set-itimer-function-arguments "itimer")
-  (autoload 'set-itimer-restart "itimer")
-  (autoload 'start-itimer "itimer"))
+  (when (featurep 'xemacs)
+    (defvar itimer-process)
+    (defvar itimer-timer)
+    (autoload 'delete-itimer "itimer")
+    (autoload 'itimer-driver-start "itimer")
+    (autoload 'itimer-value "itimer")
+    (autoload 'set-itimer-function "itimer")
+    (autoload 'set-itimer-function-arguments "itimer")
+    (autoload 'set-itimer-restart "itimer")
+    (autoload 'start-itimer "itimer")))
 
 (eval-and-compile
   (defalias

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|              Ashes to ashes, dust to dust.               |
|      The proof of the pudding, is under the crust.       |
|------------------------------<sryoungs@bigpond.net.au>---|

[-- Attachment #2: Type: application/pgp-signature, Size: 256 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2004-01-07  5:42 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06  2:02 [PATCH] Trivial itimer tweaks for password.el Steve Youngs
2004-01-06  3:10 ` Katsumi Yamaoka
2004-01-06  4:15   ` Steve Youngs
2004-01-06  5:18     ` Lars Magne Ingebrigtsen
2004-01-06  5:36       ` Katsumi Yamaoka
2004-01-06  5:47         ` Lars Magne Ingebrigtsen
2004-01-06  5:55           ` Katsumi Yamaoka
2004-01-06  5:57             ` Lars Magne Ingebrigtsen
2004-01-06  6:23               ` Lars Magne Ingebrigtsen
2004-01-06 15:33                 ` Steve Youngs
2004-01-07  2:43                   ` Lars Magne Ingebrigtsen
2004-01-07  4:31                     ` Steve Youngs
2004-01-07  4:43                       ` Lars Magne Ingebrigtsen
2004-01-07  5:42                         ` Steve Youngs
2004-01-06  6:30       ` Steve Youngs
2004-01-06  6:33         ` Lars Magne Ingebrigtsen
2004-01-06  9:53           ` Kai Grossjohann
2004-01-06 10:09             ` Katsumi Yamaoka
2004-01-06 11:03               ` Kai Grossjohann
2004-01-07  2:37                 ` Lars Magne Ingebrigtsen
2004-01-06  5:23     ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).