summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2015-11-12 15:06:14 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2015-11-12 15:06:14 +0000
commitae3d75942f4165022346ea15aaefbb64339cdc2f (patch)
tree778e2228ec90a4401b2be6cd7b258ee44a212b26
parent54d3bae7aa0a3cdbe2ca6181b966942256d55375 (diff)
downloademacs-fix/no-undo-boundary-on-secondary-buffer-change.tar.gz
-rw-r--r--lisp/simple.el4
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."