* net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Sep 2011 18:14:34 +0000 (20:14 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Sep 2011 18:14:34 +0000 (20:14 +0200)
commitf5e29b9b70a5b6493d13c912e27ecf3bffc97716
tree68d0f7cf105f933383de7e33bb7a009add97632f
parent69b8be97ad3dba56f015974f768fe01fc790cc8b
* net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
`tramp-cache-unload-hook' where appropriate.
(tramp-methods): Rename `tramp-remote-sh' to
`tramp-remote-shell'.  Add `tramp-remote-shell-args'.
(tramp-handle-shell-command): New defun, moved from tramp-sh.el.

* net/tramp-sh.el (top): Don't require 'shell.
(tramp-methods): Add `tramp-remote-shell' and
`tramp-remote-shell-args' entries.
(tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
(tramp-sh-handle-shell-command): Remove.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Use `tramp-remote-shell'.
lisp/ChangeLog
lisp/net/tramp-sh.el
lisp/net/tramp.el