From f27a330b99eebbe7f4690163358b4cacbd4e17a1 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 13 Jan 2023 02:44:44 +0100 Subject: [PATCH] ; 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) --- lisp/emacs-lisp/ert-x.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2