summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/env.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/env.el b/lisp/env.el
index 256a3338e60..cc68de9cf00 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -40,6 +40,7 @@ This function works by modifying `process-environment'."
(if (string-match "=" variable)
(error "Environment variable name `%s' contains `='" variable)
(let ((pattern (concat "\\`" (regexp-quote (concat variable "="))))
+ (case-fold-search nil)
(scan process-environment))
(while scan
(cond