[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c868a737e41 4/4: ; * test/lisp/dired-tests.el (dired-test-bug2724
From: |
Mattias Engdegård |
Subject: |
master c868a737e41 4/4: ; * test/lisp/dired-tests.el (dired-test-bug27243-03): fix unwind |
Date: |
Mon, 14 Aug 2023 11:04:26 -0400 (EDT) |
branch: master
commit c868a737e41b76a6c47b1e3101a29f7eb7cc8563
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * test/lisp/dired-tests.el (dired-test-bug27243-03): fix unwind
---
test/lisp/dired-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el
index 0701b229edd..8f2b9af09c0 100644
--- a/test/lisp/dired-tests.el
+++ b/test/lisp/dired-tests.el
@@ -241,12 +241,12 @@
(let ((buffers (find-file (concat (file-name-as-directory test-dir)
"*")
t)))
+ (setq allbufs (append buffers allbufs))
(dolist (buf buffers)
(let ((pt (with-current-buffer buf (point))))
(switch-to-buffer (find-file-noselect test-dir))
(find-file (buffer-name buf))
- (should (equal (point) pt))))
- (append buffers allbufs)))
+ (should (equal (point) pt))))))
(dolist (buf allbufs)
(when (buffer-live-p buf) (kill-buffer buf)))))))