aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/wdired-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el
index b4ef4ab2486..f1ec4afb6c5 100644
--- a/test/lisp/wdired-tests.el
+++ b/test/lisp/wdired-tests.el
@@ -116,13 +116,13 @@ wdired-mode."
116 (kill-region (point) (progn (search-forward ".") 116 (kill-region (point) (progn (search-forward ".")
117 (forward-char -1) (point))) 117 (forward-char -1) (point)))
118 (insert replace) 118 (insert replace)
119 (should (equal (dired-get-filename) new-file)))) 119 (should (equal (dired-get-filename) new-file)))
120 (when buf 120 (when buf
121 (with-current-buffer buf 121 (with-current-buffer buf
122 ;; Prevent kill-buffer-query-functions from chiming in. 122 ;; Prevent kill-buffer-query-functions from chiming in.
123 (set-buffer-modified-p nil) 123 (set-buffer-modified-p nil)
124 (kill-buffer buf))) 124 (kill-buffer buf)))
125 (delete-directory test-dir t)))) 125 (delete-directory test-dir t)))))
126 126
127 127
128(provide 'wdired-tests) 128(provide 'wdired-tests)