From 5ec2940e38aaf63ae09a3a650cb740776bcf3f2c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 28 Mar 2026 09:32:27 +0300 Subject: [PATCH] ; Another fix fore dired-tests.el --- test/lisp/dired-tests.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lisp/dired-tests.el b/test/lisp/dired-tests.el index 77518f17171..77ed07fcc42 100644 --- a/test/lisp/dired-tests.el +++ b/test/lisp/dired-tests.el @@ -738,6 +738,7 @@ hence another buffer should be returned." (dired name)))) ;; This is for MS-Windows and MS-DOS in the default configuration. (when (and (featurep 'ls-lisp) + (boundp 'ls-lisp-use-insert-directory-program) (null ls-lisp-use-insert-directory-program)) (should (bufferp buf)) (should (equal (buffer-name buf) (file-name-nondirectory name))) @@ -748,6 +749,7 @@ hence another buffer should be returned." (should (= 3 (line-number-at-pos (buffer-size) t))))) ;; This is for Posix systems and for MS-Windows/DOS when they use 'ls'. (unless (and (featurep 'ls-lisp) + (boundp 'ls-lisp-use-insert-directory-program) (null ls-lisp-use-insert-directory-program)) (let ((errbuf (get-buffer "*ls error*"))) (should (get-buffer-window errbuf))