[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/os.texi,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/os.texi,v |
Date: |
Fri, 25 Aug 2006 02:58:08 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 06/08/25 02:58:08
Index: os.texi
===================================================================
RCS file: /sources/emacs/emacs/lispref/os.texi,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- os.texi 20 Aug 2006 20:57:26 -0000 1.91
+++ os.texi 25 Aug 2006 02:58:08 -0000 1.92
@@ -1394,6 +1394,13 @@
changes from user commands' changes and prevent a single undo entry
from growing to be quite large.
+ Timer functions should also avoid calling functions that cause Emacs
+to wait, such as @code{sit-for} (@pxref{Waiting}). This can lead to
+unpredictable effects, since other timers (or even the same timer) can
+run while waiting. If a timer function needs to perform an action
+after a certain time has elapsed, it can do this by scheduling a new
+timer.
+
If a timer function calls functions that can change the match data,
it should save and restore the match data. @xref{Saving Match Data}.
- [Emacs-diffs] Changes to emacs/lispref/os.texi,v, Eli Zaretskii, 2006/08/12
- [Emacs-diffs] Changes to emacs/lispref/os.texi,v, Richard M. Stallman, 2006/08/20
- [Emacs-diffs] Changes to emacs/lispref/os.texi,v, Kim F. Storm, 2006/08/20
- [Emacs-diffs] Changes to emacs/lispref/os.texi,v,
Chong Yidong <=
- [Emacs-diffs] Changes to emacs/lispref/os.texi,v, Richard M. Stallman, 2006/08/25