diff options
Diffstat (limited to 'lisp/env.el')
-rw-r--r-- | lisp/env.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/env.el b/lisp/env.el index 33d5545edae..f7efe2059d5 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -203,7 +203,7 @@ in the environment list of the selected frame." (frame-parameters frame)))))) (if (and enable-multibyte-characters value) (setq value (decode-coding-string value locale-coding-system))) - (when (interactive-p) + (when (called-interactively-p 'interactive) (message "%s" (if value value "Not set"))) value)) |