diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2009-10-02 03:48:36 +0000 |
commit | 32226619c5e563c384372b566000e5d37d783a61 (patch) | |
tree | 216af4221d2ba868b45162679ce3a0462985c422 /lisp/env.el | |
parent | 12a3c28c787e23801f40ea557a5c00b538968a52 (diff) | |
download | emacs-32226619c5e563c384372b566000e5d37d783a61.tar.gz |
Use `called-interactively-p' instead of `interactive-p'.
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)) |