Chris Moore <[EMAIL PROTECTED]> writes:

> tramp-handle-file-exists-p makes this call:
>
>     (format
>        (tramp-get-file-exists-command multi-method method user host)
>               (tramp-shell-quote-argument localname))
>
> It seems that tramp-get-file-exists-command is capable of returning
> nil, which is passed as the first argument to format, which format
> doesn't like.  We need to either check the return from
> tramp-get-file-exists-command before passing it to format, or change
> tramp-handle-file-exists-p to stop it returning nil in some cases.

I've added kind of error handling to `tramp-get-file-exists-command',
`tramp-get-ls-command' and `tramp-get-remote-ln'. They should raise an
error now when something went wrong.

Thanks for reporting, and best regards, Michael.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to