aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2008-08-22 19:22:55 +0000
committerMichael Albinus2008-08-22 19:22:55 +0000
commit97c696d53fd525a273ec8a60b397124052b2701d (patch)
treefcf53737204eb8fe723aa19c8fb177294e5fbcc4
parentf82fd37867333b1065adc9f9059359b71d942c21 (diff)
downloademacs-97c696d53fd525a273ec8a60b397124052b2701d.tar.gz
emacs-97c696d53fd525a273ec8a60b397124052b2701d.zip
* net/tramp.el (tramp-remote-process-environment): Add "EMACS=t"
and "INSIDE_EMACS=...". Reported by Tassilo Horn <tassilo@member.fsf.org>.
-rw-r--r--lisp/net/tramp.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 828c1d2442f..68f75eb7771 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -932,6 +932,8 @@ directories for POSIX compatible commands."
932(defcustom tramp-remote-process-environment 932(defcustom tramp-remote-process-environment
933 `("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C" 933 `("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C"
934 ,(concat "TERM=" tramp-terminal-type) 934 ,(concat "TERM=" tramp-terminal-type)
935 "EMACS=t" ;; Deprecated.
936 ,(format "INSIDE_EMACS=%s,tramp:%s" emacs-version tramp-version)
935 "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" 937 "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH="
936 "autocorrect=" "correct=") 938 "autocorrect=" "correct=")
937 939