diff options
| author | Luc Teirlinck | 2005-06-16 20:14:24 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-06-16 20:14:24 +0000 |
| commit | df05ea85bc23f1ad4ed6ab03738f12aa0df4001a (patch) | |
| tree | 63d3d9097c3ecdc291bfc120d8e02b5e3217f17e | |
| parent | 12f0e0436a6f466e96de7f130c4d422c3b1b2006 (diff) | |
| download | emacs-df05ea85bc23f1ad4ed6ab03738f12aa0df4001a.tar.gz emacs-df05ea85bc23f1ad4ed6ab03738f12aa0df4001a.zip | |
(Timers): Timers should save and restore the match data if they change it.
| -rw-r--r-- | lispref/os.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lispref/os.texi b/lispref/os.texi index a1de8f09c36..e0c032f3e95 100644 --- a/lispref/os.texi +++ b/lispref/os.texi | |||
| @@ -1375,6 +1375,9 @@ both before and after changing the buffer, to separate the timer's | |||
| 1375 | changes from user commands' changes and prevent a single undo entry | 1375 | changes from user commands' changes and prevent a single undo entry |
| 1376 | from growing to be quite large. | 1376 | from growing to be quite large. |
| 1377 | 1377 | ||
| 1378 | If a timer function calls functions that can change the match data, | ||
| 1379 | it should save and restore the match data. @xref{Saving Match Data}. | ||
| 1380 | |||
| 1378 | @deffn Command run-at-time time repeat function &rest args | 1381 | @deffn Command run-at-time time repeat function &rest args |
| 1379 | This sets up a timer that calls the function @var{function} with | 1382 | This sets up a timer that calls the function @var{function} with |
| 1380 | arguments @var{args} at time @var{time}. If @var{repeat} is a number | 1383 | arguments @var{args} at time @var{time}. If @var{repeat} is a number |