summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/rfn-eshadow.el8
2 files changed, 10 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4f4574fd73b..2f14ba531f5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
+2001-10-06 Miles Bader <miles@gnu.org>
+
+ * rfn-eshadow.el (rfn-eshadow-update-overlay): Use
+ `minibuffer-prompt-end'.
+
+ * simple.el (previous-matching-history-element): Fix misplaced
+ parentheses.
+
2001-10-05 Miles Bader <miles@gnu.org>
* rfn-eshadow.el: New file.
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)