]> git.eshelyaron.com Git - emacs.git/commitdiff
* net/tramp.el(tramp-completion-handle-file-name-all-completions):
authorMichael Albinus <albinus@detlef>
Thu, 22 Apr 2010 04:30:16 +0000 (06:30 +0200)
committerMichael Albinus <albinus@detlef>
Thu, 22 Apr 2010 04:30:16 +0000 (06:30 +0200)
Ensure, that non remote files are still checked.  Oops.

lisp/ChangeLog
lisp/net/tramp.el

index ad8f74c748944019c8716f9f713e0b600e6d9971..e701f59554bd3f8123ecd7d6a7428a4e824a3b10 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-completion-handle-file-name-all-completions):
+       Ensure, that non remote files are still checked.  Oops.
+
 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
 
        Fix Bug#5840.
index 5ba1b184bc55cd2b7268959ca0d06dbb3d9b2706..05f7b94edda462c4605fde979d6ad6ae11389a54 100644 (file)
@@ -5719,9 +5719,10 @@ not in completion mode."
     (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.