changeset 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 a8704023ff6d
children 8f626cfb3ee8
files lisp/ChangeLog lisp/net/tramp.el
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Apr 22 09:15:20 2010 +0900
+++ b/lisp/ChangeLog	Thu Apr 22 06:27:55 2010 +0200
@@ -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.
--- 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.