projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956889d
)
; Fix typo in ert-with-temp-file
author
Stefan Kangas
<stefankangas@gmail.com>
Fri, 13 Jan 2023 01:44:44 +0000
(
02:44
+0100)
committer
Stefan Kangas
<stefankangas@gmail.com>
Fri, 13 Jan 2023 01:50:39 +0000
(
02:50
+0100)
* 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/ert-x.el
b/lisp/emacs-lisp/ert-x.el
index 83705ca5b89f25a93191087c2143794d2b622dbc..98a017c8a8ebd447f0968646cb643776ad03d27d 100644
(file)
--- 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