From 1d3381ae352d97f69d649a5140286cf8f39e0d2b Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 16 Nov 2021 05:06:48 +0100 Subject: [PATCH] Fix recently changed wdired test on MS-Windows * test/lisp/wdired-tests.el (wdired-test-bug34915): Don't try to create a local socket on MS-Windows, as it is not supported on that platform. Problem reported by Robert Pluim . --- test/lisp/wdired-tests.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/lisp/wdired-tests.el b/test/lisp/wdired-tests.el index 9678fce84d0..47ed26f609d 100644 --- a/test/lisp/wdired-tests.el +++ b/test/lisp/wdired-tests.el @@ -146,11 +146,12 @@ wdired-get-filename before and after editing." (make-symbolic-link "foo" "bar") (make-directory "foodir") (dired-smart-shell-command "mkfifo foopipe") - (setq proc (make-network-process - :name "foo" - :family 'local - :server t - :service (expand-file-name "foosocket" test-dir))) + (when (featurep 'make-network-process '(:family local)) + (setq proc (make-network-process + :name "foo" + :family 'local + :server t + :service (expand-file-name "foosocket" test-dir)))) (kill-buffer buf)) (dired test-dir) (dired-toggle-read-only) -- 2.39.2