]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/tramp.el (tramp-remote-process-environment): Add "EMACS=t"
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 22 Aug 2008 19:22:55 +0000 (19:22 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 22 Aug 2008 19:22:55 +0000 (19:22 +0000)
and "INSIDE_EMACS=...".  Reported by Tassilo Horn <tassilo@member.fsf.org>.

lisp/net/tramp.el

index 828c1d2442f5338659e515751bca06b095300407..68f75eb7771a81b83bfa8f8cd692ffdd56bf89f7 100644 (file)
@@ -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=")