aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/tramp.texi15
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 0e9300ab149..e9029d59c20 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12014-11-23 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Remote processes): Let-bind environment variables to
4 `process-environment' when running `process-file' or
5 `start-file-process'.
6
12014-11-19 Ivan Shmakov <ivan@siamics.net> 72014-11-19 Ivan Shmakov <ivan@siamics.net>
2 8
3 * eww.texi (Basics): Document `eww-history-limit'. 9 * eww.texi (Basics): Document `eww-history-limit'.
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index a245de82390..8eb25c690e1 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2711,6 +2711,21 @@ following code in your @file{.emacs}:
2711 (setq tramp-remote-process-environment process-environment)) 2711 (setq tramp-remote-process-environment process-environment))
2712@end lisp 2712@end lisp
2713 2713
2714When running @code{process-file} or @code{start-file-process} on a
2715remote @code{default-directory}, the default settings in
2716@code{process-environment} are not used as it is the case for local
2717processes. However, if you need environment variables other than set
2718in @code{tramp-remote-process-environment}, you can let-bind them to
2719@code{process-environment}. Only those variables will be set then:
2720
2721@lisp
2722(let ((process-environment (cons "HGPLAIN=1" process-environment)))
2723 (process-file @dots{}))
2724@end lisp
2725
2726This works only for environment variables which are not set already in
2727@code{process-environment}.
2728
2714If you use other @value{emacsname} packages which do not run 2729If you use other @value{emacsname} packages which do not run
2715out-of-the-box on a remote host, please let us know. We will try to 2730out-of-the-box on a remote host, please let us know. We will try to
2716integrate them as well. @xref{Bug Reports}. 2731integrate them as well. @xref{Bug Reports}.