Gnus development mailing list
 help / color / mirror / Atom feed
From: Steve Youngs <sryoungs@bigpond.net.au>
Cc: Simon Josefsson <sj@extundo.com>
Subject: [PATCH] Trivial itimer tweaks for password.el
Date: Tue, 06 Jan 2004 12:02:42 +1000	[thread overview]
Message-ID: <microsoft-free.873cat25rx.fsf@eicq.dnsalias.org> (raw)

[-- 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 --]

             reply	other threads:[~2004-01-06  2:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-06  2:02 Steve Youngs [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=microsoft-free.873cat25rx.fsf@eicq.dnsalias.org \
    --to=sryoungs@bigpond.net.au \
    --cc=sj@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).