summaryrefslogtreecommitdiff
path: root/lisp/time-stamp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/time-stamp.el')
-rw-r--r--lisp/time-stamp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index d2adad1e82..6996086c0f 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -660,8 +660,7 @@ The new forms being recommended now will continue to work then.")
Suggests replacing OLD-FORM with NEW-FORM."
(cond
(time-stamp-conversion-warn
- (save-excursion
- (set-buffer (get-buffer-create "*Time-stamp-compatibility*"))
+ (with-current-buffer (get-buffer-create "*Time-stamp-compatibility*")
(goto-char (point-max))
(if (bobp)
(progn