Mercurial > emacs
diff lispref/os.texi @ 63525:da42b07587f1
(Timers): Timers should save and restore the match data if they change it.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 16 Jun 2005 20:14:24 +0000 |
parents | acfc6c4c5fba |
children | 99e9892a51d9 |
line wrap: on
line diff
--- a/lispref/os.texi Thu Jun 16 20:06:48 2005 +0000 +++ b/lispref/os.texi Thu Jun 16 20:14:24 2005 +0000 @@ -1375,6 +1375,9 @@ changes from user commands' changes and prevent a single undo entry from growing to be quite large. + If a timer function calls functions that can change the match data, +it should save and restore the match data. @xref{Saving Match Data}. + @deffn Command run-at-time time repeat function &rest args This sets up a timer that calls the function @var{function} with arguments @var{args} at time @var{time}. If @var{repeat} is a number