]> git.eshelyaron.com Git - emacs.git/commit
Copy INSIDE_EMACS env variable to subprocesses in Eshell (Bug#25496)
authorFederico Tedin <federicotedin@gmail.com>
Mon, 30 Mar 2020 19:44:47 +0000 (21:44 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 2 Apr 2020 22:59:57 +0000 (18:59 -0400)
commitf28166dc9a56111606be8ac50ad38179a66ea636
tree1b222e0e38bf96d63c99e5cf4adc1ee9d2b1fa7f
parentadfcc17e6ff9e66e9f9bf8d9f5d3236aef4ba4e0
Copy INSIDE_EMACS env variable to subprocesses in Eshell (Bug#25496)

* lisp/eshell/em-dirs.el (eshell-dirs-initialize): Add INSIDE_EMACS
variable to buffer-local value of eshell-variable-aliases-alist.
(eshell-inside-emacs): Add new constant used for INSIDE_EMACS.
* lisp/eshell/esh-var.el (eshell-variable-aliases-list): Update doc
string; remove mention of eshell-user-aliases-list and explain that
variables can optionally be copied to subprocesses' environments.
* test/lisp/eshell/eshell-tests.el (eshell-test/inside-emacs-var): Add
test for the INSIDE_EMACS variable.
* etc/NEWS: Announce changes.
etc/NEWS
lisp/eshell/em-dirs.el
lisp/eshell/esh-var.el
test/lisp/eshell/eshell-tests.el