diff options
-rw-r--r-- | lisp/simple.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index af917c6a4d9..821c7665c6c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2827,8 +2827,8 @@ REASON describes the reason that the boundary is being added; see (defun undo-auto--boundary-timer () "Timer which will run `undo--auto-boundary-timer'." - (undo-auto--boundaries 'timer) - (setq undo-auto--current-boundary-timer nil)) + (setq undo-auto--current-boundary-timer nil) + (undo-auto--boundaries 'timer)) (defun undo-auto--boundary-ensure-timer () "Ensure that the `undo-auto-boundary-timer' is set." |