aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2013-08-20 12:04:13 +0200
committerMichael Albinus2013-08-20 12:04:13 +0200
commitc88586a9620e16040fa28ebb6e05926719360ba2 (patch)
tree20db1ba711b488d9b7a001aec660fb2a2aa73c5f
parent236beba0c2cf9b757f7a25f1155a7f0f2d25f903 (diff)
downloademacs-c88586a9620e16040fa28ebb6e05926719360ba2.tar.gz
emacs-c88586a9620e16040fa28ebb6e05926719360ba2.zip
* minibuffer.el (completion--sifn-requote): Bind `non-essential'.
* rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of `non-essential' up.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/minibuffer.el3
-rw-r--r--lisp/rfn-eshadow.el10
3 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 28431e9a08d..d8c4797434e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12013-08-20 Michael Albinus <michael.albinus@gmx.de>
2
3 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4
5 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6 `non-essential' up.
7
12013-08-17 Michael Albinus <michael.albinus@gmx.de> 82013-08-17 Michael Albinus <michael.albinus@gmx.de>
2 9
3 * net/tramp.el: 10 * net/tramp.el:
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index e07d28a54d0..72cb6f7e894 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -2246,7 +2246,8 @@ same as `substitute-in-file-name'."
2246 ;; - Cygwin (substitute-in-file-name "C:\bin") => "/usr/bin" 2246 ;; - Cygwin (substitute-in-file-name "C:\bin") => "/usr/bin"
2247 ;; (substitute-in-file-name "C:\") => "/" 2247 ;; (substitute-in-file-name "C:\") => "/"
2248 ;; (substitute-in-file-name "C:\bi") => "/bi" 2248 ;; (substitute-in-file-name "C:\bi") => "/bi"
2249 (let* ((ustr (substitute-in-file-name qstr)) 2249 (let* ((non-essential t)
2250 (ustr (substitute-in-file-name qstr))
2250 (uprefix (substring ustr 0 upos)) 2251 (uprefix (substring ustr 0 upos))
2251 qprefix) 2252 qprefix)
2252 ;; Main assumption: nothing after qpos should affect the text before upos, 2253 ;; Main assumption: nothing after qpos should affect the text before upos,
diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el
index cf5f1d16974..8d29c43980c 100644
--- a/lisp/rfn-eshadow.el
+++ b/lisp/rfn-eshadow.el
@@ -176,11 +176,11 @@ This is intended to be used as a minibuffer `post-command-hook' for
176`file-name-shadow-mode'; the minibuffer should have already 176`file-name-shadow-mode'; the minibuffer should have already
177been set up by `rfn-eshadow-setup-minibuffer'." 177been set up by `rfn-eshadow-setup-minibuffer'."
178 (condition-case nil 178 (condition-case nil
179 (let ((goal (substitute-in-file-name (minibuffer-contents))) 179 (let* ((non-essential t)
180 (mid (overlay-end rfn-eshadow-overlay)) 180 (goal (substitute-in-file-name (minibuffer-contents)))
181 (start (minibuffer-prompt-end)) 181 (mid (overlay-end rfn-eshadow-overlay))
182 (end (point-max)) 182 (start (minibuffer-prompt-end))
183 (non-essential t)) 183 (end (point-max)))
184 (unless 184 (unless
185 ;; Catch the common case where the shadow does not need to move. 185 ;; Catch the common case where the shadow does not need to move.
186 (and mid 186 (and mid