Mercurial > emacs
diff lisp/net/tramp.el @ 108059:6469bf1a3a10
* net/tramp.el(tramp-completion-handle-file-name-all-completions):
Ensure, that non remote files are still checked. Oops.
author | Michael Albinus <albinus@detlef> |
---|---|
date | Thu, 22 Apr 2010 06:27:55 +0200 |
parents | 1545dcb1c3b7 |
children | 589643be353e |
line wrap: on
line diff
--- a/lisp/net/tramp.el Thu Apr 22 09:15:20 2010 +0900 +++ b/lisp/net/tramp.el Thu Apr 22 06:27:55 2010 +0200 @@ -5719,9 +5719,10 @@ (append result1 (condition-case nil - (when (tramp-connectable-p fullname) - (tramp-completion-run-real-handler - 'file-name-all-completions (list filename directory))) + (apply (if (tramp-connectable-p fullname) + 'tramp-completion-run-real-handler + 'tramp-run-real-handler) + 'file-name-all-completions (list (list filename directory))) (error nil))))) ;; Method, host name and user name completion for a file.