changeset 39613:32898a97e761

(rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'.
author Miles Bader <miles@gnu.org>
date Fri, 05 Oct 2001 15:17:20 +0000
parents 309d26eb8616
children fc453faec402
files lisp/rfn-eshadow.el
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/rfn-eshadow.el	Fri Oct 05 15:16:24 2001 +0000
+++ b/lisp/rfn-eshadow.el	Fri Oct 05 15:17:20 2001 +0000
@@ -180,13 +180,9 @@
   ;; This is not really a correct implementation; it won't always do the
   ;; right thing in the presence of environment variables that
   ;; substitute-in-file-name would expand; currently it just assumes any
-  ;; environment variable contains an absolute filename.  It doesn't
-  ;; handle MS-DOS-type drive specs like substitute-in-file-name does.
+  ;; environment variable contains an absolute filename.
   (save-excursion
-    ;; Note that this should use `minibuffer-prompt-end' instead of
-    ;; `field-end', but for now we use the latter so that it works
-    ;; properly with old definitions of minibuffer-prompt-end.
-    (goto-char (field-end (point-min)))
+    (goto-char (minibuffer-prompt-end))
     ;; Update the overlay (which will evaporate if it's empty).
     (move-overlay rfn-eshadow-overlay
 		  (point)