summaryrefslogtreecommitdiff
path: root/lisp/rfn-eshadow.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2001-10-05 15:19:23 +0000
committerMiles Bader <miles@gnu.org>2001-10-05 15:19:23 +0000
commita01b78312abcb6cfc8ed0211d9640284e2f4da2a (patch)
tree424cb0e54e1a70b0f443b67e61d266c75cd687b0 /lisp/rfn-eshadow.el
parent6d74d713e031ebb2bb43453e4d471e6915bf11de (diff)
downloademacs-a01b78312abcb6cfc8ed0211d9640284e2f4da2a.tar.gz
(rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'.
Diffstat (limited to 'lisp/rfn-eshadow.el')
-rw-r--r--lisp/rfn-eshadow.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el
index bcc5dd7a8d1..38af012ee6b 100644
--- a/lisp/rfn-eshadow.el
+++ b/lisp/rfn-eshadow.el
@@ -180,13 +180,9 @@ been set up by `rfn-eshadow-setup-minibuffer'."
;; 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)