diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2019-06-24 17:36:00 +0200 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2019-06-24 17:36:00 +0200 |
| commit | 18a7e5414c534db38eedb06b16ef68f2c17b98fd (patch) | |
| tree | 355be82e621742ec6768dcf859d6edabc3c643ce /src/emacs.c | |
| parent | b72cd0c74682cf87799f324eb3dace5f1962baf0 (diff) | |
| download | emacs-18a7e5414c534db38eedb06b16ef68f2c17b98fd.tar.gz | |
Improve error handling in Tramp
* lisp/net/tramp-compat.el (ls-lisp): Require.
* lisp/net/tramp.el (ls-lisp-use-insert-directory-program):
Don't declare.
(tramp-current-connection): Adapt docstring.
(tramp-debug-message): Adapt function names.
(tramp-error, tramp-run-real-handler): Let-bind `signal-hook-function'.
(tramp-signal-hook-function): New defun.
(tramp-debug-on-error, tramp-condition-case-unless-debug): Remove.
(tramp-file-name-handler): Handle `tramp-current-connection'.
Let-bind `signal-hook-function'. Use `unwind-protect' instead of
`tramp-condition-case-unless-debug'.
(tramp-handle-insert-directory): Don't require ls-lisp.
(tramp-process-actions): Check, that
`tramp-password-save-function' is non-nil.
(tramp-equal-remote): Handle the case both files are local.
* test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
Do not bind `tramp-debug-on-error'.
(tramp--test-ignore-make-symbolic-link-error): Make error handler
more explicit about the error.
Diffstat (limited to 'src/emacs.c')
0 files changed, 0 insertions, 0 deletions
