]> git.eshelyaron.com Git - emacs.git/commitdiff
(Timers): Timers should save and restore the match data if they change it.
authorLuc Teirlinck <teirllm@auburn.edu>
Thu, 16 Jun 2005 20:14:24 +0000 (20:14 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Thu, 16 Jun 2005 20:14:24 +0000 (20:14 +0000)
lispref/os.texi

index a1de8f09c362c665682eae23666f87b551004a1b..e0c032f3e9554bb15ffe741cdcf6d53baa9ccb92 100644 (file)
@@ -1375,6 +1375,9 @@ both before and after changing the buffer, to separate the timer's
 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