* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 21 Feb 2011 19:14:56 +0000 (20:14 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 21 Feb 2011 19:14:56 +0000 (20:14 +0100)
`field' property of `rfn-eshadow-overlay'.

lisp/ChangeLog
lisp/net/tramp.el

index 20514a0..05c765e 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
+       `field' property of `rfn-eshadow-overlay'.
+
 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * net/netrc.el (netrc-parse): Comment fix.
 
 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
 
-       * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
+       * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
        (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
        (soap-decoded-multi-refs, soap-current-wsdl)
        (soap-encoded-namespaces): Rename CL-style *...* variables.
index 9be0937..fc167d6 100644 (file)
@@ -1574,8 +1574,12 @@ special handling of `substitute-in-file-name'."
     (let ((props (tramp-compat-funcall
                  'overlay-properties (symbol-value 'rfn-eshadow-overlay))))
       (while props
-       (tramp-compat-funcall
-        'overlay-put tramp-rfn-eshadow-overlay (pop props) (pop props))))))
+       ;; The `field' property prevents correct minibuffer
+       ;; completion; we exclude it.
+       (if (not (eq (car props) 'field))
+           (tramp-compat-funcall
+            'overlay-put tramp-rfn-eshadow-overlay (pop props) (pop props))
+         (pop props) (pop props))))))
 
 (when (boundp 'rfn-eshadow-setup-minibuffer-hook)
   (add-hook 'rfn-eshadow-setup-minibuffer-hook