summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calcalg2.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el
index 3d90de3f0b3..2b45ce1b2f0 100644
--- a/lisp/calc/calcalg2.el
+++ b/lisp/calc/calcalg2.el
@@ -670,8 +670,8 @@
(defmacro math-tracing-integral (&rest parts)
(list 'and
'trace-buffer
- (list 'save-excursion
- '(set-buffer trace-buffer)
+ (list 'with-current-buffer
+ 'trace-buffer
'(goto-char (point-max))
(list 'and
'(bolp)