From 442674babbf0b231fd4a53e774e1ec16c929a0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Sat, 22 Aug 2026 09:51:05 +0200 Subject: [PATCH] emacsclient-tests: don't load the site file * test/lib-src/emacsclient-tests.el (emacsclient-test-alternate-editor-allows-arguments) (emacsclient-test-alternate-editor-allows-quotes): Invoke the alternate editor with -Q to suppress site file loading. (Bug#81676) --- test/lib-src/emacsclient-tests.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/lib-src/emacsclient-tests.el b/test/lib-src/emacsclient-tests.el index b84e5711bab..25c206685af 100644 --- a/test/lib-src/emacsclient-tests.el +++ b/test/lib-src/emacsclient-tests.el @@ -50,12 +50,13 @@ (ert-deftest emacsclient-test-alternate-editor-allows-arguments () (emacsclient-test-call-emacsclient - (concat (expand-file-name invocation-name invocation-directory) " --batch"))) + (concat (expand-file-name invocation-name invocation-directory) + " --batch -Q"))) (ert-deftest emacsclient-test-alternate-editor-allows-quotes () (emacsclient-test-call-emacsclient (concat "\"" (expand-file-name invocation-name invocation-directory) - "\"" " --batch"))) + "\"" " --batch -Q"))) (provide 'emacsclient-tests) ;;; emacsclient-tests.el ends here