Mercurial > emacs
changeset 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 | 8981e470ace7 |
children | 80bd8eddac37 |
files | lispref/os.texi |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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