* net/tramp.el (tramp-completion-mode): New defvar. Used in
`tramp-completion-mode' for checking if we are in completion mode. (tramp-completion-handle-file-name-all-completions): Reorder code in order to complete for file names only in case there are no method/user/host completions. This is necessary for cooperation with ido. Reported by Kim F. Storm <firstname.lastname@example.org>.
Showing with 81 additions and 58 deletions