diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-02-27 20:22:44 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-02-27 20:22:44 -0500 |
commit | de3a1fe9358d3d833a15dc4fb559b902cdc1168b (patch) | |
tree | 2c9238dc843da462a720a64df7a75f5e053d9d42 /lisp/calc | |
parent | 8c3e96d2f0e4fee24498567c5840eb8d03d26720 (diff) | |
download | emacs-de3a1fe9358d3d833a15dc4fb559b902cdc1168b.tar.gz |
Fix more save-excursion warnings.
* textmodes/reftex-toc.el (reftex-toc-promote-prepare):
* emacs-lisp/elint.el (elint-add-required-env):
* cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default):
* cedet/ede/make.el (ede-make-check-version):
* calendar/icalendar.el (icalendar--add-diary-entry):
* calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calcalg2.el | 4 |
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) |