erc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-commit] [commit][master] erc-bbdb.el: Work around XEmacs 21.4 bug i


From: mwolson
Subject: [Erc-commit] [commit][master] erc-bbdb.el: Work around XEmacs 21.4 bug in run-at-timer call.
Date: Sat, 19 Jan 2008 03:40:09 -0500

commit b5331cc366b908cbfcb68e8f383124df8c6d94e9
Author: Michael W. Olson <address@hidden>
Date:   Sat Jan 19 03:03:43 2008 -0500

    erc-bbdb.el: Work around XEmacs 21.4 bug in run-at-timer call.

diff --git a/ChangeLog b/ChangeLog
index 3576e88..cdb10b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-19  Michael Olson  <address@hidden>
 
+       * erc-bbdb.el (erc-bbdb-insinuate-and-show-entry): Work around bug
+       in XEmacs 21.4 that throws an error when the first argument to
+       run-at-time is nil.
+
        * erc-button.el (button): Undo XEmacs-specific change to all ERC
        buffers when module is removed.
        (erc-button-setup): Rename from erc-button-add-keys, and move
diff --git a/erc-bbdb.el b/erc-bbdb.el
index d68b697..5d6ed78 100644
--- a/erc-bbdb.el
+++ b/erc-bbdb.el
@@ -169,7 +169,7 @@ their \"displayed name\"."
 (defun erc-bbdb-insinuate-and-show-entry (create-p proc nick name finger-host 
silent &optional chan new-nick)
   ;; run this outside of the IRC filter process, to avoid an annoying
   ;; error when the user hits C-g
-  (run-at-time nil nil
+  (run-at-time 0.1 nil
               #'erc-bbdb-insinuate-and-show-entry-1
               create-p proc nick name finger-host silent chan new-nick))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]