]> code.delx.au - gnu-emacs/commitdiff
* minibuffer.el (completion--sifn-requote): Bind `non-essential'.
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 20 Aug 2013 10:04:13 +0000 (12:04 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 20 Aug 2013 10:04:13 +0000 (12:04 +0200)
* rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
`non-essential' up.

lisp/ChangeLog
lisp/minibuffer.el
lisp/rfn-eshadow.el

index 28431e9a08da40a792cc1d9fac075b558e4066a6..d8c4797434e69499c8595e543936f4722c45bcd9 100644 (file)
@@ -1,3 +1,10 @@
+2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
+
+       * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
+
+       * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
+       `non-essential' up.
+
 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el:
index e07d28a54d00b91ef9afda48fe81dcc0567e6766..72cb6f7e8948d68fe2fef682e615ce1d6d7bd7d2 100644 (file)
@@ -2246,7 +2246,8 @@ same as `substitute-in-file-name'."
   ;; - Cygwin (substitute-in-file-name "C:\bin") => "/usr/bin"
   ;;          (substitute-in-file-name "C:\") => "/"
   ;;          (substitute-in-file-name "C:\bi") => "/bi"
-  (let* ((ustr (substitute-in-file-name qstr))
+  (let* ((non-essential t)
+        (ustr (substitute-in-file-name qstr))
          (uprefix (substring ustr 0 upos))
          qprefix)
     ;; Main assumption: nothing after qpos should affect the text before upos,
index cf5f1d16974e68b646107033d7e70c38e4672db4..8d29c43980ca51c5f651d46aac25d45155d95710 100644 (file)
@@ -176,11 +176,11 @@ This is intended to be used as a minibuffer `post-command-hook' for
 `file-name-shadow-mode'; the minibuffer should have already
 been set up by `rfn-eshadow-setup-minibuffer'."
   (condition-case nil
-      (let ((goal (substitute-in-file-name (minibuffer-contents)))
-            (mid (overlay-end rfn-eshadow-overlay))
-            (start (minibuffer-prompt-end))
-            (end (point-max))
-           (non-essential t))
+      (let* ((non-essential t)
+            (goal (substitute-in-file-name (minibuffer-contents)))
+            (mid (overlay-end rfn-eshadow-overlay))
+            (start (minibuffer-prompt-end))
+            (end (point-max)))
         (unless
             ;; Catch the common case where the shadow does not need to move.
             (and mid