emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 f27a330b99: ; Fix typo in ert-with-temp-file


From: Stefan Kangas
Subject: emacs-29 f27a330b99: ; Fix typo in ert-with-temp-file
Date: Thu, 12 Jan 2023 20:50:53 -0500 (EST)

branch: emacs-29
commit f27a330b99eebbe7f4690163358b4cacbd4e17a1
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Fix typo in ert-with-temp-file
    
    * lisp/emacs-lisp/ert-x.el (ert-with-temp-file): Fix typo.
    Reported by F. Jason Park <jp@neverwas.me>.  (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 83705ca5b8..98a017c8a8 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]