From 2b91b841b23a17884b5da63dea27604496a93b67 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Fri, 1 Sep 2017 23:41:36 +0100 Subject: [PATCH] Fix a mis-binding in a test * test/lisp/progmodes/python-tests.el (python-shell-calculate-process-environment-3): Fix binding of process-environment. A level of parens was missing. This was found after Glenn Morris noticed a similar problem with the patch for Bug#28319. --- test/lisp/progmodes/python-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 4b022fc815c..57e40ff640e 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el @@ -2561,7 +2561,7 @@ if x: "Test `python-shell-virtualenv-root' modification." (let* ((python-shell-virtualenv-root "/env") (process-environment - (let (process-environment process-environment) + (let ((process-environment process-environment)) (setenv "PYTHONHOME" "/home") (setenv "VIRTUAL_ENV") (python-shell-calculate-process-environment)))) -- 2.39.2