changeset 97613:d78633cfcc28

* net/tramp.el (tramp-remote-process-environment): Add "EMACS=t" and "INSIDE_EMACS=...". Reported by Tassilo Horn <tassilo@member.fsf.org>.
author Michael Albinus <michael.albinus@gmx.de>
date Fri, 22 Aug 2008 19:22:55 +0000
parents 92ac38fd997e
children f654d74cbc81
files lisp/net/tramp.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/tramp.el	Fri Aug 22 08:32:49 2008 +0000
+++ b/lisp/net/tramp.el	Fri Aug 22 19:22:55 2008 +0000
@@ -932,6 +932,8 @@
 (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=")