]> code.delx.au - gnu-emacs/blobdiff - lisp/rfn-eshadow.el
Fix race conditions with MS-Windows lock files by using _sopen.
[gnu-emacs] / lisp / rfn-eshadow.el
index 2d8c6e0964d35aac0d2990fe00d7fcd498201f19..cf5f1d16974e68b646107033d7e70c38e4672db4 100644 (file)
@@ -1,6 +1,6 @@
 ;;; rfn-eshadow.el --- Highlight `shadowed' part of read-file-name input text
 ;;
-;; Copyright (C) 2000-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2000-2013 Free Software Foundation, Inc.
 ;;
 ;; Author: Miles Bader <miles@gnu.org>
 ;; Keywords: convenience minibuffer
@@ -179,7 +179,8 @@ been set up by `rfn-eshadow-setup-minibuffer'."
       (let ((goal (substitute-in-file-name (minibuffer-contents)))
             (mid (overlay-end rfn-eshadow-overlay))
             (start (minibuffer-prompt-end))
-            (end (point-max)))
+            (end (point-max))
+           (non-essential t))
         (unless
             ;; Catch the common case where the shadow does not need to move.
             (and mid