summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-01-13 02:44:44 +0100
committerStefan Kangas <stefankangas@gmail.com>2023-01-13 02:50:39 +0100
commitf27a330b99eebbe7f4690163358b4cacbd4e17a1 (patch)
tree92a6546edf04e6eda99a6d78deb3e5a7288efa83 /lisp/emacs-lisp
parent956889d8ff1c79db45ca9b1711f406961e71c272 (diff)
downloademacs-f27a330b99eebbe7f4690163358b4cacbd4e17a1.tar.gz
emacs-f27a330b99eebbe7f4690163358b4cacbd4e17a1.tar.bz2
emacs-f27a330b99eebbe7f4690163358b4cacbd4e17a1.zip
; 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)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/ert-x.el2
1 files changed, 1 insertions, 1 deletions
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