summaryrefslogtreecommitdiff
path: root/lisp/env.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/env.el')
-rw-r--r--lisp/env.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/env.el b/lisp/env.el
index 33c02f6f920..faafcb6250f 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -204,6 +204,7 @@ parameter.
Otherwise, this function searches `process-environment' for
VARIABLE. If it is not found there, then it continues the search
in the environment list of the selected frame."
+ (declare (side-effect-free t))
(interactive (list (read-envvar-name "Get environment variable: " t)))
(let ((value (getenv-internal (if (multibyte-string-p variable)
(encode-coding-string