summaryrefslogtreecommitdiff
path: root/lisp/eshell/esh-util.el
diff options
context:
space:
mode:
authorJürgen Hötzel <juergen@archlinux.org>2013-01-17 11:01:33 +0100
committerMichael Albinus <michael.albinus@gmx.de>2013-01-17 11:01:33 +0100
commit99d36ea8f65a9357da8c3f018bf3d462aa07bc83 (patch)
tree6a2206db1133e146961b671bb165016bfeaba382 /lisp/eshell/esh-util.el
parent68a08a32e3979396d53fc5da371d928b9c7df881 (diff)
downloademacs-99d36ea8f65a9357da8c3f018bf3d462aa07bc83.tar.gz
* eshell/esh-util.el (eshell-path-env): Make it buffer local, in
order to support several eshell buffers in parallel.
Diffstat (limited to 'lisp/eshell/esh-util.el')
-rw-r--r--lisp/eshell/esh-util.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 2f49a21e76c..f9b86219e9b 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -229,6 +229,7 @@ If N or M is nil, it means the end of the list."
"Content of $PATH.
It might be different from \(getenv \"PATH\"\), when
`default-directory' points to a remote host.")
+(make-variable-buffer-local 'eshell-path-env)
(defun eshell-parse-colon-path (path-env)
"Split string with `parse-colon-path'.