summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2011-02-21 20:14:56 +0100
committerMichael Albinus <michael.albinus@gmx.de>2011-02-21 20:14:56 +0100
commitc63090455fe67ba5788aa23a5223655c2cbe9351 (patch)
tree626bd390f67903949f2793ed817fc0f982cc84bb
parent6ca1c3b4f26d01d3e9125986ca8e8f31eb1bf6bc (diff)
downloademacs-c63090455fe67ba5788aa23a5223655c2cbe9351.tar.gz
* net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
`field' property of `rfn-eshadow-overlay'.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/net/tramp.el8
2 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 20514a0b886..05c765e0881 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
@@ -264,7 +269,7 @@
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.
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 9be093743b5..fc167d6e62e 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -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