diff options
| author | Mattias EngdegÄrd | 2023-08-14 16:53:13 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-08-14 17:03:44 +0200 |
| commit | c868a737e41b76a6c47b1e3101a29f7eb7cc8563 (patch) | |
| tree | 66b17903ecc07174f9ce565bfa370cbf00469a19 | |
| parent | 411f1bfc9f8db4f87a11ae18ccf2106e7ff8a6d3 (diff) | |
| download | emacs-c868a737e41b76a6c47b1e3101a29f7eb7cc8563.tar.gz emacs-c868a737e41b76a6c47b1e3101a29f7eb7cc8563.zip | |
; * test/lisp/dired-tests.el (dired-test-bug27243-03): fix unwind
| -rw-r--r-- | test/lisp/dired-tests.el | 4 |
1 files 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 @@ | |||
| 241 | (let ((buffers (find-file (concat (file-name-as-directory test-dir) | 241 | (let ((buffers (find-file (concat (file-name-as-directory test-dir) |
| 242 | "*") | 242 | "*") |
| 243 | t))) | 243 | t))) |
| 244 | (setq allbufs (append buffers allbufs)) | ||
| 244 | (dolist (buf buffers) | 245 | (dolist (buf buffers) |
| 245 | (let ((pt (with-current-buffer buf (point)))) | 246 | (let ((pt (with-current-buffer buf (point)))) |
| 246 | (switch-to-buffer (find-file-noselect test-dir)) | 247 | (switch-to-buffer (find-file-noselect test-dir)) |
| 247 | (find-file (buffer-name buf)) | 248 | (find-file (buffer-name buf)) |
| 248 | (should (equal (point) pt)))) | 249 | (should (equal (point) pt)))))) |
| 249 | (append buffers allbufs))) | ||
| 250 | (dolist (buf allbufs) | 250 | (dolist (buf allbufs) |
| 251 | (when (buffer-live-p buf) (kill-buffer buf))))))) | 251 | (when (buffer-live-p buf) (kill-buffer buf))))))) |
| 252 | 252 | ||