From 97c696d53fd525a273ec8a60b397124052b2701d Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 22 Aug 2008 19:22:55 +0000 Subject: [PATCH] * net/tramp.el (tramp-remote-process-environment): Add "EMACS=t" and "INSIDE_EMACS=...". Reported by Tassilo Horn . --- lisp/net/tramp.el | 2 ++ 1 file changed, 2 insertions(+) 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." (defcustom tramp-remote-process-environment `("HISTFILE=$HOME/.tramp_history" "HISTSIZE=1" "LC_ALL=C" ,(concat "TERM=" tramp-terminal-type) + "EMACS=t" ;; Deprecated. + ,(format "INSIDE_EMACS=%s,tramp:%s" emacs-version tramp-version) "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "autocorrect=" "correct=") -- 2.39.5