From: Stefan Kangas Date: Fri, 13 Jan 2023 01:44:44 +0000 (+0100) Subject: ; Fix typo in ert-with-temp-file X-Git-Tag: emacs-29.0.90~753 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f27a330b99eebbe7f4690163358b4cacbd4e17a1;p=emacs.git ; Fix typo in ert-with-temp-file * lisp/emacs-lisp/ert-x.el (ert-with-temp-file): Fix typo. Reported by F. Jason Park . (Bug#60730) --- diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el index 83705ca5b89..98a017c8a8e 100644 --- a/lisp/emacs-lisp/ert-x.el +++ b/lisp/emacs-lisp/ert-x.el @@ -496,7 +496,7 @@ See also `ert-with-temp-directory'." (progn ,@body) (ignore-errors ,@(when buffer - (list `(with-current-buffer buf + (list `(with-current-buffer ,buffer (set-buffer-modified-p nil)) `(kill-buffer ,buffer)))) (ignore-errors