diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-05-10 12:22:52 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-05-15 18:50:54 -0700 |
commit | e260bf1be7b03c21988a2090cde31970bd6bbfc9 (patch) | |
tree | 8a3746e8e65a04f7474fa747564590ba28fd19ed /lisp/emacs-lisp/comp.el | |
parent | c85294a6132e57bc0d24e39589b2c6163c11ca87 (diff) | |
download | emacs-e260bf1be7b03c21988a2090cde31970bd6bbfc9.tar.gz emacs-e260bf1be7b03c21988a2090cde31970bd6bbfc9.tar.bz2 emacs-e260bf1be7b03c21988a2090cde31970bd6bbfc9.zip |
Use "/local:" prefix in Eshell to run local commands when cwd is remote
* lisp/eshell/esh-ext.el (eshell-explicit-remote-commands)
(eshell-explicit-command): Update docstrings.
(eshell--local-prefix): New constant.
(eshell-handle-remote-command): Remove.
(eshell-quoted-file-command): New function...
(eshell-ext-initialize): ... add it as a hook.
(eshell-remote-command): Support running commands on localhost.
(eshell-connection-local-command): Rename from
'eshell-external-command'.
(eshell-external-command): New implementation calling
'eshell-remote-command' or 'eshell-connection-local-command' as
appropriate.
* test/lisp/eshell/esh-ext-tests.el
(esh-ext-test/explicitly-local-command): Update test.
* doc/misc/eshell.texi (Remote Access): Update documentation.
* etc/NEWS: Update announcement.
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
0 files changed, 0 insertions, 0 deletions