Commit a4f2deaa authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/eshell/esh-ext.el (eshell/addpath): Also update eshell-path-env.

Fixes: debbugs:12013
parent 32d9ba9a
2012-08-05 Glenn Morris <rgm@gnu.org>
* eshell/esh-ext.el (eshell/addpath):
Also update eshell-path-env. (Bug#12013)
2012-08-05 Chong Yidong <cyd@gnu.org>
 
* wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc
fixes.
* wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
 
* fringe.el (fringe-styles): Add docstring.
(fringe--check-mode): New function.
......
......@@ -235,7 +235,8 @@ Adds the given PATH to $PATH.")
(getenv "PATH"))
(concat (getenv "PATH") path-separator
(car args))))
(setq args (cdr args))))
(setq args (cdr args)))
(setq eshell-path-env (getenv "PATH")))
(let ((paths (parse-colon-path (getenv "PATH"))))
(while paths
(eshell-printn (car paths))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment